1
0
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:
James Crook
2017-04-04 14:43:47 +01:00
parent 017990fac0
commit c17a7f535e
17 changed files with 27 additions and 36 deletions

View File

@@ -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