1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-13 06:37:52 +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

@@ -52,6 +52,7 @@ with changes in the SpectralSelectionBar.
#include "SpectralSelectionBar.h"
#include "../Prefs.h"
#include "../AllThemeResources.h"
#include "../SelectedRegion.h"
#include "../widgets/NumericTextCtrl.h"
@@ -106,6 +107,7 @@ void SpectralSelectionBar::Create(wxWindow * parent)
void SpectralSelectionBar::Populate()
{
SetBackgroundColour( theTheme.Colour( clrMedium ) );
gPrefs->Read(preferencePath, &mbCenterAndWidth, true);
// This will be inherited by all children: