]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/font.h
no changes, just remove #if'd out code
[wxWidgets.git] / include / wx / cocoa / font.h
index e1fcaecca92b00059fe754e8718b3de7f90365f4..acda832c6978d69767adb399039815acd3128a0e 100644 (file)
@@ -62,7 +62,19 @@ public:
     {
         (void)Create(size, family, style, weight, underlined, face, encoding);
     }
     {
         (void)Create(size, family, style, weight, underlined, face, encoding);
     }
-
+    
+    wxFont(const wxSize& pixelSize,
+           wxFontFamily family,
+           wxFontStyle style,
+           wxFontWeight weight,
+           bool underlined = false,
+           const wxString& face = wxEmptyString,
+           wxFontEncoding encoding = wxFONTENCODING_DEFAULT)
+    {
+        Create(10, family, style, weight, underlined, face, encoding);
+        SetPixelSize(pixelSize);
+    }
+    
     /*! @abstract   Construction with opaque wxNativeFontInfo
      */
     wxFont(const wxNativeFontInfo& info)
     /*! @abstract   Construction with opaque wxNativeFontInfo
      */
     wxFont(const wxNativeFontInfo& info)