]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/pen.h
adopting correct implementation virtualization for Do/GradientFillConcentric
[wxWidgets.git] / include / wx / os2 / pen.h
index 900838c450d0861c550fe9f11fdf3037948b90dd..3594ffebec0f1cad7492a4bb024db81b65e85277 100644 (file)
@@ -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; }