#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();