]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/font.h
Document that wxDC::FloodFill() is not implemented under wxOSX.
[wxWidgets.git] / include / wx / motif / font.h
index e00eb848d355165e76272d6b4da2535990af04c7..ef259f9a5528caaa7d443d6503086aa8c4daa0ce 100644 (file)
@@ -28,6 +28,20 @@ public:
     // ctors and such
     wxFont() { }
 
+    wxFont(const wxFontInfo& info)
+    {
+        Create(info.GetPointSize(),
+               info.GetFamily(),
+               info.GetStyle(),
+               info.GetWeight(),
+               info.IsUnderlined(),
+               info.GetFaceName(),
+               info.GetEncoding());
+
+        if ( info.IsUsingSizeInPixels() )
+            SetPixelSize(info.GetPixelSize());
+    }
+
     wxFont(const wxNativeFontInfo& info);
 
 #if FUTURE_WXWIN_COMPATIBILITY_3_0