]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/font.h
Fix wrong tab order in wxAuiNotebook after dragging.
[wxWidgets.git] / include / wx / gtk1 / font.h
index b5e7e4ea207e6760b4465b302cd8da7c9e1e6d43..87d21b1f1198fa3c8faa46a558c1dd35387c1924 100644 (file)
@@ -76,6 +76,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);
+    }
+
     bool Create(int size,
                 wxFontFamily family,
                 wxFontStyle style,