]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/font.h
Ensure that the progress dialog parent is activated at the end under MSW.
[wxWidgets.git] / include / wx / dfb / font.h
index ad0e586e1e2fd3bf93871093117acf22a70c6ac3..3ccdebb42241158dec9ca25e19f47d375e7df10d 100644 (file)
@@ -60,6 +60,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,