X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..05a98b6d5d201eb8edea04b1ab022e4a9a46e9f0:/include/wx/cocoa/brush.h diff --git a/include/wx/cocoa/brush.h b/include/wx/cocoa/brush.h index a7639fc998..4bf3d8a71b 100644 --- a/include/wx/cocoa/brush.h +++ b/include/wx/cocoa/brush.h @@ -52,7 +52,8 @@ public: virtual int GetStyle() const; wxBitmap *GetStipple() const; - virtual bool Ok() const + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const { return (m_refData != NULL); } // wxObjectRefData