X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..8871035d85c46a417f9f91cdb8ce02d53d6a1dcc:/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