]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
test program improvements (patch 927429)
[wxWidgets.git] / src / common / ctrlcmn.cpp
index 4bddbffceac246e20ab610e80890a660015f2973..9c9714914b5eaebde7163889f9e7858f9059ef51 100644 (file)
 // implementation
 // ============================================================================
 
-wxControlBase::wxControlBase()
-{
-}
-
 wxControlBase::~wxControlBase()
 {
     // this destructor is required for Darwin
@@ -105,15 +101,6 @@ void wxControlBase::InheritAttributes()
         SetBackgroundColour(parent->GetBackgroundColour());
         SetForegroundColour(parent->GetForegroundColour());
     }
-
-#ifdef __WXPM__
-    //
-    // All OS/2 ctrls use the small font
-    //
-    SetFont(*wxSMALL_FONT);
-#else
-    SetFont(GetParent()->GetFont());
-#endif
 }
 
 void wxControlBase::Command(wxCommandEvent& event)