From 564e840d54ad19e98c2256a315044740ee3c3a19 Mon Sep 17 00:00:00 2001 From: Steve Daulton Date: Sun, 8 Apr 2018 18:18:54 +0100 Subject: [PATCH] Fix background colour of Prefs On Linux, it is not necessary to explicitly set the background colour here, but left a comment in case it is required on other platforms. --- src/ShuttleGui.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ShuttleGui.cpp b/src/ShuttleGui.cpp index 23f3a7a81..04f376e36 100644 --- a/src/ShuttleGui.cpp +++ b/src/ShuttleGui.cpp @@ -814,11 +814,7 @@ wxScrolledWindow * ShuttleGuiBase::StartScroller(int iStyle) } else { - mpWind->SetBackgroundColour( - iStyle==0 - ? wxColour( 245,244,240) : - wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE) - ); + // mpWind->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_MENUBAR)); UpdateSizers(); // adds window in to current sizer. }