]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/font.h
Fix wrong tab order in wxAuiNotebook after dragging.
[wxWidgets.git] / include / wx / os2 / font.h
index 7060847d66b2f536e3f1797b9a1ede4d48c67bd5..39be035dfc00d22a13afaae53d2c618852bfbd23 100644 (file)
@@ -63,6 +63,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,