X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92b0a2a13ccaaa23a97964ff35cdaf39dd44a104..9548c49a6a1e4533976450205de136d9edbe91b0:/src/common/ctrlcmn.cpp diff --git a/src/common/ctrlcmn.cpp b/src/common/ctrlcmn.cpp index 2ebabc1f0d..c13f4dcc0c 100644 --- a/src/common/ctrlcmn.cpp +++ b/src/common/ctrlcmn.cpp @@ -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)