X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..bc07ab17bf5370f452e899128bf89cc7ca7b98f0:/include/wx/x11/pen.h diff --git a/include/wx/x11/pen.h b/include/wx/x11/pen.h index eeff1b0756..7df09ebc19 100644 --- a/include/wx/x11/pen.h +++ b/include/wx/x11/pen.h @@ -38,7 +38,8 @@ public: wxPen( const wxBitmap &stipple, int width ); virtual ~wxPen(); - bool Ok() const { return m_refData != NULL; } + bool Ok() const { return IsOk(); } + bool IsOk() const { return m_refData != NULL; } bool operator == ( const wxPen& pen ) const; bool operator != (const wxPen& pen) const { return !(*this == pen); }