X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef6bd27b357788fa1ea5126824e72e1e277e8e4e..3d963f8137041c9e583ed804e218ff076996986b:/include/wx/mac/dataobj2.h diff --git a/include/wx/mac/dataobj2.h b/include/wx/mac/dataobj2.h index a936e226e9..c6fd53689c 100644 --- a/include/wx/mac/dataobj2.h +++ b/include/wx/mac/dataobj2.h @@ -12,7 +12,7 @@ #ifndef _WX_GTK_DATAOBJ2_H_ #define _WX_GTK_DATAOBJ2_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dataobj.h" #endif @@ -20,7 +20,7 @@ // wxBitmapDataObject is a specialization of wxDataObject for bitmaps // ---------------------------------------------------------------------------- -class wxBitmapDataObject : public wxBitmapDataObjectBase +class WXDLLEXPORT wxBitmapDataObject : public wxBitmapDataObjectBase { public: // ctors @@ -64,7 +64,7 @@ private: // wxFileDataObject is a specialization of wxDataObject for file names // ---------------------------------------------------------------------------- -class wxFileDataObject : public wxFileDataObjectBase +class WXDLLEXPORT wxFileDataObject : public wxFileDataObjectBase { public: // implement base class pure virtuals