X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6783cae428bd825191040780017f4a0b4599d8ff..3e6858cdcb9278b36446466c346d984e7e306553:/include/wx/cocoa/brush.h?ds=sidebyside diff --git a/include/wx/cocoa/brush.h b/include/wx/cocoa/brush.h index facbc7194d..a3d41f8e98 100644 --- a/include/wx/cocoa/brush.h +++ b/include/wx/cocoa/brush.h @@ -29,7 +29,7 @@ class WXDLLEXPORT wxBrush: public wxBrushBase // ------------------------------------------------------------------------ public: wxBrush(); - wxBrush(const wxColour& col, int style = wxSOLID); + wxBrush(const wxColour& col, wxBrushStyle style = wxBRUSHSTYLE_SOLID); wxBrush(const wxBitmap& stipple); virtual ~wxBrush(); @@ -38,7 +38,7 @@ public: // ------------------------------------------------------------------------ virtual void SetColour(const wxColour& col) ; virtual void SetColour(unsigned char r, unsigned char g, unsigned char b) ; - virtual void SetStyle(int style) ; + virtual void SetStyle(wxBrushStyle style) ; virtual void SetStipple(const wxBitmap& stipple) ; // comparison @@ -49,7 +49,7 @@ public: // accessors wxColour GetColour() const; - virtual int GetStyle() const; + virtual wxBrushStyle GetStyle() const; wxBitmap *GetStipple() const; // wxCocoa