diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index 8fdf612715..6155c3f607 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -127,11 +127,6 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id, // so that non-solid background renders correctly under GTK+: SetThemeEnabled(true); -#ifdef __WXMSW__ - // panels don't have the same colour as normal windows under Windows - SetDefaultBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); -#endif // __WXMSW__ - return true; }