diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index 81e5700262..f29cf4019b 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -121,7 +121,12 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id, long style, const wxString& name) { - return wxWindow::Create(parent, id, pos, size, style, name); + if ( !wxWindow::Create(parent, id, pos, size, style, name) ) + return false; + + SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); + + return true; } wxPanel::~wxPanel()