]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dataobj2.h
allocate HPEN on demand instead of doing every time a pen property is modified; also...
[wxWidgets.git] / include / wx / gtk / dataobj2.h
index afb922c85b478f0191b9b438e15a4586cfe9560f..50f177cf654ea8aa657c89e2e91cd3ab46ac0ad5 100644 (file)
@@ -23,7 +23,7 @@ public:
     wxBitmapDataObject(const wxBitmap& bitmap);
 
     // destr
-    ~wxBitmapDataObject();
+    virtual ~wxBitmapDataObject();
 
     // override base class virtual to update PNG data too
     virtual void SetBitmap(const wxBitmap& bitmap);