X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..27d0dcd033be9b1356a36d582f3d3665a53e11e4:/include/wx/mac/dataobj.h diff --git a/include/wx/mac/dataobj.h b/include/wx/mac/dataobj.h index 9539c95e8f..7141cd93fa 100644 --- a/include/wx/mac/dataobj.h +++ b/include/wx/mac/dataobj.h @@ -6,13 +6,13 @@ // Created: 10/21/99 // RCS-ID: $Id$ // Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #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;