]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/font.h
remove unused variable assignment, closes #14928
[wxWidgets.git] / include / wx / motif / font.h
index e00eb848d355165e76272d6b4da2535990af04c7..935581f2e4d867f7f72bbe1f050ac2015719e6f5 100644 (file)
@@ -66,6 +66,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,