X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..4aa7709b73750737133ef33168cb159ca7ae464a:/interface/wx/pen.h diff --git a/interface/wx/pen.h b/interface/wx/pen.h index d54d9f581d..8dd77c3093 100644 --- a/interface/wx/pen.h +++ b/interface/wx/pen.h @@ -201,7 +201,7 @@ public: pointer to the pen object is stored in an application data structure, and there is a risk of double deletion. */ - ~wxPen(); + virtual ~wxPen(); /** Returns the pen cap style, which may be one of @c wxCAP_ROUND, @c @@ -265,7 +265,7 @@ public: /** Returns @true if the pen is initialised. */ - bool IsOk() const; + virtual bool IsOk() const; /** Sets the pen cap style, which may be one of @c wxCAP_ROUND, @c wxCAP_PROJECTING