]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dataobj2.h
Fix buffer overrun in Linux/x86_64 (Pixel is a 64 bit long, passing
[wxWidgets.git] / include / wx / x11 / dataobj2.h
index 1d4b877a21c6ee4a9f05b3e17b2a5004b817fd90..6aefcebe981becc427ae169b193e04f8427681e9 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);