]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/font.h
no changes, just remove #if'd out code
[wxWidgets.git] / include / wx / gtk1 / font.h
index cbce9d2c1fa56274664fe79ba8965ab777d989a3..de10438926b4f867f69afc69a25b1fa49fcb6bcc 100644 (file)
@@ -63,7 +63,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,