X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca65c0440a7163e4e37e48b1c4329709d722db47..fb44fc34e84aa9338d159bb3e2485f8647b78e60:/src/generic/panelg.cpp 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; }