-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flickering issues in time boxes and meter panels
Sometimes, resizing the window can cause the project selection, time toolbars, and/or the input and output VU meter toolbars to flicker. A simple fix is to set the background style to wxBG_STYLE_PAINT instead of wxBG_STYLE_SYSTEM because, as the wxWidgets documentation recommends, "you should change the background style to wxBG_STYLE_PAINT if you define an EVT_PAINT handler which completely overwrites the window background". (I'm under the impression that these widgets' paint handlers perform their own erasing anyways). Signed-off-by: Avery King <[email protected]> (cherry picked from commit 4918dfd)
- Loading branch information
Avery King
committed
Aug 29, 2024
1 parent
e025a2b
commit ec72fc8
Showing
3 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters