]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/font.h
fixing multiple extensions in one filter, turning off temporarily sheets code
[wxWidgets.git] / include / wx / gtk / font.h
index 2743dca4693b1993fc42b9d930da1e8df980e6c1..efd441ad5ac143aaa19492bed38a0d10480be536 100644 (file)
@@ -51,6 +51,18 @@ public:
         Create(size, family, style, weight, underlined, face, encoding);
     }
 
+    wxFont(const wxSize& pixelSize,
+           wxFontFamily family,
+           wxFontStyle style,
+           wxFontWeight weight,
+           bool underlined = false,
+           const wxString& face = wxEmptyString,
+           wxFontEncoding encoding = wxFONTENCODING_DEFAULT)
+    {
+        Create(10, family, style, weight, underlined, face, encoding);
+        SetPixelSize(pixelSize);
+    }
+    
     bool Create(int size,
                 wxFontFamily family,
                 wxFontStyle style,