]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/font.h
Remove wxRTTI macro for wxComboBox from Motif port.
[wxWidgets.git] / include / wx / cocoa / font.h
index d54a07f6e1211653794961c4644bc505ab281dda..a8989845dbe531aa31e14074aed4408e2a589b9f 100644 (file)
@@ -75,6 +75,19 @@ public:
         SetPixelSize(pixelSize);
     }
 
+    wxFont(int pointSize,
+           wxFontFamily family,
+           int flags = wxFONTFLAG_DEFAULT,
+           const wxString& face = wxEmptyString,
+           wxFontEncoding encoding = wxFONTENCODING_DEFAULT)
+    {
+        Create(pointSize, family,
+               GetStyleFromFlags(flags),
+               GetWeightFromFlags(flags),
+               GetUnderlinedFromFlags(flags),
+               face, encoding);
+    }
+
     /*! @abstract   Construction with opaque wxNativeFontInfo
      */
     wxFont(const wxNativeFontInfo& info)