X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86bb7d48256bbca4b3e09c05125c3b6333a506ef..520e470fdd0daef09c77938db642e4583933c90d:/src/generic/panelg.cpp?ds=sidebyside diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index c58841ba5c..be008d5122 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -50,7 +50,6 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id, if ( ret ) { SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE)); - SetDefaultBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE)); SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT)); } @@ -73,7 +72,6 @@ void wxPanel::SetFocus() void wxPanel::OnSysColourChanged(wxSysColourChangedEvent& event) { SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE)); - SetDefaultBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE)); Refresh(); // Propagate the event to the non-top-level children