]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/font.h
Fix wrong tab order in wxAuiNotebook after dragging.
[wxWidgets.git] / include / wx / dfb / font.h
index ad0e586e1e2fd3bf93871093117acf22a70c6ac3..3ccdebb42241158dec9ca25e19f47d375e7df10d 100644 (file)
@@ -60,6 +60,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,