X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..855f31ebe72bef834a32df2c274b41fb282ad265:/include/wx/cocoa/pen.h?ds=inline diff --git a/include/wx/cocoa/pen.h b/include/wx/cocoa/pen.h index 9f46d56bec..6f14b78318 100644 --- a/include/wx/cocoa/pen.h +++ b/include/wx/cocoa/pen.h @@ -39,7 +39,8 @@ public: inline bool operator != (const wxPen& pen) const { return m_refData != pen.m_refData; } - virtual bool Ok() const { return (m_refData != NULL) ; } + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const { return (m_refData != NULL) ; } void SetColour(const wxColour& col) ; void SetColour(unsigned char r, unsigned char g, unsigned char b) ;