X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f162a338013ec8be1f2fe29a0111a07cdcb0c5e9..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/cocoa/brush.h?ds=sidebyside diff --git a/include/wx/cocoa/brush.h b/include/wx/cocoa/brush.h index 28e4efa76f..e3d793db54 100644 --- a/include/wx/cocoa/brush.h +++ b/include/wx/cocoa/brush.h @@ -6,7 +6,7 @@ // Created: 2003/07/03 // RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_BRUSH_H__ @@ -21,7 +21,7 @@ class WXDLLEXPORT wxBrush; // ======================================================================== // wxBrush // ======================================================================== -class WXDLLEXPORT wxBrush: public wxGDIObject +class WXDLLEXPORT wxBrush: public wxBrushBase { DECLARE_DYNAMIC_CLASS(wxBrush) // ------------------------------------------------------------------------ @@ -29,10 +29,10 @@ class WXDLLEXPORT wxBrush: public wxGDIObject // ------------------------------------------------------------------------ public: wxBrush(); - wxBrush(const wxColour& col, int style); + wxBrush(const wxColour& col, int style = wxSOLID); wxBrush(const wxBitmap& stipple); wxBrush(const wxBrush& brush) - : wxGDIObject() + : wxBrushBase() { Ref(brush); } ~wxBrush(); @@ -56,7 +56,7 @@ public: // accessors wxColour GetColour() const; - int GetStyle() const; + virtual int GetStyle() const; wxBitmap *GetStipple() const; virtual bool Ok() const