mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-16 07:47:58 +01:00
Improve repainting after a theme change.
Now most things repaint properly after a theme change. The sliders on the tracks don't yet.
This commit is contained in:
@@ -874,9 +874,8 @@ void ToolDock::OnPaint( wxPaintEvent & WXUNUSED(event) )
|
||||
//
|
||||
// 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( theTheme.Colour( clrMedium )));
|
||||
#endif
|
||||
dc.Clear();
|
||||
|
||||
// Set the gap color
|
||||
|
||||
Reference in New Issue
Block a user