]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/font.h
added missing parentheses in a couple of GetHxxxOf() macros
[wxWidgets.git] / include / wx / msw / font.h
index ba22cb5cdbe5c51ed5412628957946eef6de1061..afadf95e08412b5cac5048010a7e90b088ecda59 100644 (file)
@@ -47,7 +47,7 @@ public:
     {
         Create(size, family, style, weight, underlined, face, encoding);
     }
-
+    
     bool Create(int size,
                 wxFontFamily family,
                 wxFontStyle style,
@@ -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);