no changes, just remove #if'd out code
[wxWidgets.git] / include / wx / motif / font.h
index 8b470cf76ea8015d876602b61fdc9b3d27abb530..6c59225a13e821a72c3d9efa3f966061cf65c4a8 100644 (file)
@@ -53,7 +53,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,