X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..ec75d791f043b3b43cac9825a2c62e9d5321e616:/include/wx/mac/dataobj.h diff --git a/include/wx/mac/dataobj.h b/include/wx/mac/dataobj.h index 9539c95e8f..d0986d168e 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 @@ -20,12 +20,12 @@ // wxDataObject is the same as wxDataObjectBase under wxGTK // ---------------------------------------------------------------------------- -class wxDataObject : public wxDataObjectBase +class WXDLLEXPORT wxDataObject : public wxDataObjectBase { public: wxDataObject(); -#ifdef __WXMAC_X__ - ~wxDataObject() {} // Added min for Mac X +#ifdef __DARWIN__ + ~wxDataObject() { } #endif virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;