]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/font.h
no changes, just remove #if'd out code
[wxWidgets.git] / include / wx / dfb / font.h
index 56c838680bfa48d27bfa6849fd85bbc6d9c0e55d..941f513deec8e17a250a56643994d4730009417e 100644 (file)
@@ -47,7 +47,19 @@ 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,