]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/bitmap.h
Apply patch [ 1554736 ] wxXmlDocument::DetachRoot
[wxWidgets.git] / include / wx / gtk / bitmap.h
index 18c1a5305a161dbb973d78af51548728acb268a6..21d6bcd28606a3b286f110a44628b9f28e164759 100644 (file)
@@ -26,7 +26,7 @@ public:
     wxMask( const wxBitmap& bitmap, int paletteIndex );
 #endif // wxUSE_PALETTE
     wxMask( const wxBitmap& bitmap );
-    ~wxMask();
+    virtual ~wxMask();
 
     bool Create( const wxBitmap& bitmap, const wxColour& colour );
 #if wxUSE_PALETTE
@@ -57,7 +57,7 @@ public:
     wxBitmap( char **bits ) { (void)CreateFromXpm((const char **)bits); }
     wxBitmap( const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_XPM );
     wxBitmap( const wxImage& image, int depth = -1 ) { (void)CreateFromImage(image, depth); }
-    ~wxBitmap();
+    virtual ~wxBitmap();
     bool operator == ( const wxBitmap& bmp ) const;
     bool operator != ( const wxBitmap& bmp ) const;
     bool Ok() const;