X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e4acbd463920ae9d18972dfa16f5e4633f2ea97..616c0d1f3ac084bb92f0a75dc48812e8647f1b22:/include/wx/msw/ole/dataobj2.h diff --git a/include/wx/msw/ole/dataobj2.h b/include/wx/msw/ole/dataobj2.h index f69c376127..8cda74f5ea 100644 --- a/include/wx/msw/ole/dataobj2.h +++ b/include/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