]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlcmn.cpp
use wxART_BROKEN_IMAGE in wxHTML
[wxWidgets.git] / src / common / ctrlcmn.cpp
index 2ebabc1f0d715a92784f61936f894d6ba3ba5748..c13f4dcc0c33e4826567f3b8fc7fae21749f1036 100644 (file)
@@ -100,7 +100,14 @@ void wxControlBase::InheritAttributes()
     SetForegroundColour(GetParent()->GetForegroundColour());
 #endif // 0
 
+#ifdef __WXPM__
+    //
+    // All OS/2 ctrls use the small font
+    //
+    SetFont(*wxSMALL_FONT);
+#else
     SetFont(GetParent()->GetFont());
+#endif
 }
 
 void wxControlBase::Command(wxCommandEvent& event)