From 58a5dee02c722ae8a8b241dee83854dc3ec0c08b Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Tue, 19 May 2015 02:35:46 -0500 Subject: [PATCH] Fix background drawing in Nyquist and Vamp effects --- src/ShuttleGui.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ShuttleGui.cpp b/src/ShuttleGui.cpp index 261b44409..7519c366c 100644 --- a/src/ShuttleGui.cpp +++ b/src/ShuttleGui.cpp @@ -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. }