X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52479aefae169d5c85cd0e07d159db0b8dd0a965..687b91d266990129fbbb8c21d92fa4298b458352:/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);