]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/font.h
Fixes mostly to do with painting
[wxWidgets.git] / include / wx / motif / font.h
index 906bc2462a681ca114a3c58b11f278aec8677436..d6aeb9e1bfe80bd40db8a7513cec499b0e228e3e 100644 (file)
@@ -37,6 +37,14 @@ public:
         (void)Create(size, family, style, weight, underlined, face, encoding);
     }
 
+    wxFont(const wxNativeFontInfo& info)
+    {
+        Init();
+
+        (void)Create(info.pointSize, info.family, info.style, info.weight,
+                     info.underlined, info.faceName, info.encoding);
+    }
+
     bool Create(int size,
                 int family,
                 int style,