X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..e6649f2d55acf4b3bca1ca275752961cd676a053:/include/wx/cocoa/brush.h diff --git a/include/wx/cocoa/brush.h b/include/wx/cocoa/brush.h index 689981f391..facbc7194d 100644 --- a/include/wx/cocoa/brush.h +++ b/include/wx/cocoa/brush.h @@ -16,7 +16,7 @@ #include "wx/gdiobj.h" #include "wx/bitmap.h" -class WXDLLEXPORT wxBrush; +class WXDLLIMPEXP_FWD_CORE wxBrush; // ======================================================================== // wxBrush @@ -31,7 +31,7 @@ public: wxBrush(); wxBrush(const wxColour& col, int style = wxSOLID); wxBrush(const wxBitmap& stipple); - ~wxBrush(); + virtual ~wxBrush(); // ------------------------------------------------------------------------ // Implementation @@ -52,15 +52,12 @@ public: virtual int GetStyle() const; wxBitmap *GetStipple() const; - virtual bool Ok() const - { return (m_refData != NULL); } - - // wxObjectRefData - wxObjectRefData *CreateRefData() const; - wxObjectRefData *CloneRefData(const wxObjectRefData *data) const; - // wxCocoa WX_NSColor GetNSColor(); + +protected: + wxGDIRefData *CreateGDIRefData() const; + wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; }; #endif // __WX_COCOA_BRUSH_H__