]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
Themes crash fix.
[wxWidgets.git] / src / generic / panelg.cpp
index 9ac21f6245eac7a1534207f5204cd8b0d2ea97e0..a6521927222eea87890260052360ab19e6f5193c 100644 (file)
@@ -55,10 +55,8 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id,
 
     if ( ret )
     {
-#ifndef __WXGTK__
         SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
         SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
-#endif
     }
 
     return ret;