X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..d9b33d7001af25479a63df96ca2f130b2cbc21aa:/include/wx/x11/pen.h?ds=sidebyside 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); }