X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..c2d122aa7d8f2b8d76aef0440b75cd640b56c707:/include/wx/x11/pen.h diff --git a/include/wx/x11/pen.h b/include/wx/x11/pen.h index 17c2288831..7df09ebc19 100644 --- a/include/wx/x11/pen.h +++ b/include/wx/x11/pen.h @@ -36,9 +36,10 @@ public: wxPen( const wxColour &colour, int width = 1, int style = wxSOLID ); wxPen( const wxBitmap &stipple, int width ); - ~wxPen(); + 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); }