]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
removed use of p2cstr
[wxWidgets.git] / src / generic / panelg.cpp
index 8fdf61271568a8d724fe1e10ea962543814cbab9..6155c3f6070893d557a07ddbb13c4adb194118e9 100644 (file)
@@ -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;
 }