]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/font.h
wxColour -> NSColor conversion.
[wxWidgets.git] / include / wx / msw / font.h
index ba22cb5cdbe5c51ed5412628957946eef6de1061..a121282f89569465fbd276348b885bbc25b28e2f 100644 (file)
@@ -135,7 +135,7 @@ public:
     virtual void SetUnderlined(bool underlined);
     virtual void SetEncoding(wxFontEncoding encoding);
 
-    WXDECLARE_COMPAT_SETTERS
+    wxDECLARE_COMMON_FONT_METHODS();
 
     virtual bool IsFixedWidth() const;
 
@@ -155,9 +155,9 @@ protected:
     bool DoCreate(int size,
                   const wxSize& pixelSize,
                   bool sizeUsingPixels,
-                  int family,
-                  int style,
-                  int weight,
+                  wxFontFamily family,
+                  wxFontStyle style,
+                  wxFontWeight weight,
                   bool underlined = false,
                   const wxString& face = wxEmptyString,
                   wxFontEncoding encoding = wxFONTENCODING_DEFAULT);