]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/font.h
removing NSWindow based mouse tracking in favour of 10.5+ trackingArea implementation
[wxWidgets.git] / include / wx / osx / font.h
index 7eb86a6809deb0837994777967fdfb8ceb606496..fb7fea783a97fc3f9ed0dd82cc31598f2cb4ec28 100644 (file)
@@ -79,6 +79,19 @@ public:
         SetPixelSize(pixelSize);
     }
 
         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);
+    }
+
     bool Create(int size,
                 wxFontFamily family,
                 wxFontStyle style,
     bool Create(int size,
                 wxFontFamily family,
                 wxFontStyle style,