]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't have to explicitly set the background any more, the default will
authorRobin Dunn <robin@alldunn.com>
Thu, 17 Jun 2004 21:37:44 +0000 (21:37 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 17 Jun 2004 21:37:44 +0000 (21:37 +0000)
do the right thing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;
 }