]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
test program improvements (patch 927429)
[wxWidgets.git] / src / common / ctrlcmn.cpp
index ec97111188ae4c169cf3eaea1a9bdae455c3ad49..9c9714914b5eaebde7163889f9e7858f9059ef51 100644 (file)
@@ -101,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)