X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/cocoa/dataobj2.h diff --git a/include/wx/cocoa/dataobj2.h b/include/wx/cocoa/dataobj2.h index aca32452fc..a1d1ea3e25 100644 --- a/include/wx/cocoa/dataobj2.h +++ b/include/wx/cocoa/dataobj2.h @@ -15,7 +15,7 @@ //========================================================================= // wxBitmapDataObject is a specialization of wxDataObject for bitmaps //========================================================================= -class wxBitmapDataObject : public wxBitmapDataObjectBase +class WXDLLIMPEXP_CORE wxBitmapDataObject : public wxBitmapDataObjectBase { public: // ctors @@ -36,7 +36,7 @@ public: virtual bool SetData(size_t len, const void *buf); protected: - void Init() { m_pngData = (void *)NULL; m_pngSize = 0; } + void Init() { m_pngData = NULL; m_pngSize = 0; } void Clear() { free(m_pngData); } void ClearAll() { Clear(); Init(); } @@ -59,7 +59,7 @@ private: // wxFileDataObject is a specialization of wxDataObject for file names //========================================================================= -class wxFileDataObject : public wxFileDataObjectBase +class WXDLLIMPEXP_CORE wxFileDataObject : public wxFileDataObjectBase { public: // implement base class pure virtuals