X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b068c4e8a1f4919360329c345eae36ff95ab5a10..69c4481222795d89f470020b63ec788bb717c0b3:/include/wx/gtk1/dataobj.h diff --git a/include/wx/gtk1/dataobj.h b/include/wx/gtk1/dataobj.h index 0794fcf51f..52ea20c7bd 100644 --- a/include/wx/gtk1/dataobj.h +++ b/include/wx/gtk1/dataobj.h @@ -10,7 +10,7 @@ #ifndef _WX_GTK_DATAOBJ_H_ #define _WX_GTK_DATAOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dataobj.h" #endif @@ -22,6 +22,7 @@ class wxDataObject : public wxDataObjectBase { public: wxDataObject(); + virtual ~wxDataObject(); virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; };