X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e87870780586104029acf7b5dd28e26260bdb0f..fb63a24232a48e4b634124c7eaa968974c3c24a1:/include/wx/os2/pen.h?ds=sidebyside diff --git a/include/wx/os2/pen.h b/include/wx/os2/pen.h index 900838c450..3594ffebec 100644 --- a/include/wx/os2/pen.h +++ b/include/wx/os2/pen.h @@ -25,7 +25,7 @@ class WXDLLEXPORT wxPenRefData: public wxGDIRefData public: wxPenRefData(); wxPenRefData(const wxPenRefData& rData); - ~wxPenRefData(); + virtual ~wxPenRefData(); protected: int m_nWidth; @@ -54,7 +54,7 @@ public: wxPen( const wxBitmap& rStipple ,int nWidth ); - ~wxPen(); + virtual ~wxPen(); inline bool operator == (const wxPen& rPen) const { return m_refData == rPen.m_refData; }