#ifndef _WX_MAC_DATAOBJ_H_
#define _WX_MAC_DATAOBJ_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dataobj.h"
#endif
// 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;