X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..3306aec1240b38347abda1ad776df32b6687ad01:/include/wx/mac/classic/dataobj2.h diff --git a/include/wx/mac/classic/dataobj2.h b/include/wx/mac/classic/dataobj2.h index 64b0ac084a..4cea480372 100644 --- a/include/wx/mac/classic/dataobj2.h +++ b/include/wx/mac/classic/dataobj2.h @@ -12,10 +12,6 @@ #ifndef _WX_GTK_DATAOBJ2_H_ #define _WX_GTK_DATAOBJ2_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxBitmapDataObject is a specialization of wxDataObject for bitmaps // ---------------------------------------------------------------------------- @@ -28,7 +24,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);