]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
Fixed wxHTML code in a Watcom Win32 DLL
[wxWidgets.git] / src / generic / panelg.cpp
index 3cab12dccb1516b1b8260365664bcff2b34fe35b..3052aabd7b1786988a8f0378f32801659548ef50 100644 (file)
@@ -74,15 +74,7 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id,
                      long style,
                      const wxString& name)
 {
-    bool ret = wxWindow::Create(parent, id, pos, size, style, name);
-
-    if ( ret )
-    {
-        SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
-        SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
-    }
-
-    return ret;
+    return wxWindow::Create(parent, id, pos, size, style, name);
 }
 
 // ----------------------------------------------------------------------------