1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 08:09:41 +02:00

Fix background drawing in Nyquist and Vamp effects

This commit is contained in:
Leland Lucius 2015-05-19 02:35:46 -05:00
parent 91cc97525f
commit 58a5dee02c

View File

@ -744,11 +744,6 @@ wxScrolledWindow * ShuttleGuiBase::StartScroller(int iStyle)
pScroller->SetName(wxT("\a"));
pScroller->SetLabel(wxT("\a"));
mpWind->SetBackgroundColour(
iStyle==0
? wxColour( 245,244,240) :
wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)
);
SetProportions( 1 );
if( iStyle==2 )
{
@ -756,6 +751,11 @@ wxScrolledWindow * ShuttleGuiBase::StartScroller(int iStyle)
}
else
{
mpWind->SetBackgroundColour(
iStyle==0
? wxColour( 245,244,240) :
wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)
);
UpdateSizers(); // adds window in to current sizer.
}