X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e4acbd463920ae9d18972dfa16f5e4633f2ea97..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/msw/ole/dataobj2.h diff --git a/include/wx/msw/ole/dataobj2.h b/include/wx/msw/ole/dataobj2.h index f69c376127..8389942302 100644 --- a/include/wx/msw/ole/dataobj2.h +++ b/include/wx/msw/ole/dataobj2.h @@ -122,7 +122,8 @@ private: class WXDLLEXPORT 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;