X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/msw/ole/dataobj2.h diff --git a/include/wx/msw/ole/dataobj2.h b/include/wx/msw/ole/dataobj2.h index 99a3c680fc..8cda74f5ea 100644 --- a/include/wx/msw/ole/dataobj2.h +++ b/include/wx/msw/ole/dataobj2.h @@ -7,7 +7,7 @@ // Created: 21.10.99 // RCS-ID: $Id$ // Copyright: (c) 1999 Vadim Zeitlin -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_MSW_OLE_DATAOBJ2_H @@ -21,7 +21,7 @@ // rarely used). This is ugly, but I haven't found a solution for it yet. // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxBitmapDataObject : public wxBitmapDataObjectBase +class WXDLLIMPEXP_CORE wxBitmapDataObject : public wxBitmapDataObjectBase { public: // ctors @@ -51,7 +51,7 @@ private: // the DIB data void /* BITMAPINFO */ *m_data; - DECLARE_NO_COPY_CLASS(wxBitmapDataObject) + wxDECLARE_NO_COPY_CLASS(wxBitmapDataObject); }; // ---------------------------------------------------------------------------- @@ -60,7 +60,7 @@ private: // FIXME did I already mention it was ugly? // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxBitmapDataObject2 : public wxBitmapDataObjectBase +class WXDLLIMPEXP_CORE wxBitmapDataObject2 : public wxBitmapDataObjectBase { public: // ctors @@ -84,14 +84,14 @@ public: { return SetData(len, buf); } private: - DECLARE_NO_COPY_CLASS(wxBitmapDataObject2) + wxDECLARE_NO_COPY_CLASS(wxBitmapDataObject2); }; // ---------------------------------------------------------------------------- // wxFileDataObject - data object for CF_HDROP // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxFileDataObject : public wxFileDataObjectBase +class WXDLLIMPEXP_CORE wxFileDataObject : public wxFileDataObjectBase { public: wxFileDataObject() { } @@ -112,17 +112,18 @@ public: { return SetData(len, buf); } private: - DECLARE_NO_COPY_CLASS(wxFileDataObject) + wxDECLARE_NO_COPY_CLASS(wxFileDataObject); }; // ---------------------------------------------------------------------------- // wxURLDataObject: data object for URLs // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxURLDataObject : public wxDataObjectComposite +class WXDLLIMPEXP_CORE wxURLDataObject : public wxDataObjectComposite { public: - wxURLDataObject(); + // initialize with URL in ctor or use SetURL later + wxURLDataObject(const wxString& url = wxEmptyString); // return the URL as string wxString GetURL() const; @@ -139,7 +140,7 @@ private: // last data object we got data in wxDataObjectSimple *m_dataObjectLast; - DECLARE_NO_COPY_CLASS(wxURLDataObject) + wxDECLARE_NO_COPY_CLASS(wxURLDataObject); }; #endif // _WX_MSW_OLE_DATAOBJ2_H