X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef6bd27b357788fa1ea5126824e72e1e277e8e4e..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/dataobj.h diff --git a/include/wx/mac/dataobj.h b/include/wx/mac/dataobj.h index 74cbb9215f..3c1e8de47b 100644 --- a/include/wx/mac/dataobj.h +++ b/include/wx/mac/dataobj.h @@ -12,7 +12,7 @@ #ifndef _WX_MAC_DATAOBJ_H_ #define _WX_MAC_DATAOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dataobj.h" #endif @@ -24,6 +24,9 @@ class wxDataObject : public wxDataObjectBase { public: wxDataObject(); +#ifdef __DARWIN__ + ~wxDataObject() { } +#endif virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; };