mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-17 00:07:54 +01:00
Sync with DarkAudacity
This commit is contained in:
@@ -356,7 +356,7 @@ ToolDock::ToolDock( ToolManager *manager, wxWindow *parent, int dockid ):
|
||||
// Init
|
||||
mManager = manager;
|
||||
memset(mBars, 0, sizeof(mBars)); // otherwise uninitialized
|
||||
|
||||
SetBackgroundColour(theTheme.Colour( clrMedium ));
|
||||
// Use for testing gaps
|
||||
// SetOwnBackgroundColour( wxColour( 255, 0, 0 ) );
|
||||
}
|
||||
@@ -872,10 +872,10 @@ void ToolDock::OnPaint( wxPaintEvent & WXUNUSED(event) )
|
||||
|
||||
// Start with a clean background
|
||||
//
|
||||
// Under GTK, we specifically set the toolbar background to the background
|
||||
// colour in the system theme.
|
||||
// Under GTK, we don't set the toolbar background to the background
|
||||
// colour in the system theme. Instead we use our own colour.
|
||||
#if defined( __WXGTK__ )
|
||||
dc.SetBackground( wxBrush( wxSystemSettings::GetColour( wxSYS_COLOUR_BACKGROUND ) ) );
|
||||
dc.SetBackground( wxBrush( theTheme.Colour( clrMedium )));
|
||||
#endif
|
||||
dc.Clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user