]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/font.h
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / include / wx / msw / font.h
index 90073aa564f0474fd0feadfdef9d256645dcda50..8149aaa6afcdfcfafda14164304d8f3d6c64f45c 100644 (file)
@@ -40,11 +40,11 @@ public:
         (void)Create(size, family, style, weight, underlined, face, encoding);
     }
 
-    wxFont(const wxNativeFontInfo& info)
+    wxFont(const wxNativeFontInfo& info, WXHFONT hFont = 0)
     {
         Init();
 
-        Create(info);
+        Create(info, hFont);
     }
 
     wxFont(const wxString& fontDesc);
@@ -57,7 +57,7 @@ public:
                 const wxString& face = wxEmptyString,
                 wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
 
-    bool Create(const wxNativeFontInfo& info);
+    bool Create(const wxNativeFontInfo& info, WXHFONT hFont = 0);
 
     virtual ~wxFont();