X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1b435afad91408d08e158a8f107981045bd8d35..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/dataobj.h diff --git a/include/wx/dataobj.h b/include/wx/dataobj.h index 19563d31a4..923f297094 100644 --- a/include/wx/dataobj.h +++ b/include/wx/dataobj.h @@ -254,7 +254,7 @@ class WXDLLEXPORT wxDataObjectComposite : public wxDataObject { public: // ctor - wxDataObjectComposite() { m_preferred = 0; } + wxDataObjectComposite(); // add data object (it will be deleted by wxDataObjectComposite, hence it // must be allocated on the heap) whose format will become the preferred @@ -467,6 +467,7 @@ private: { public: wxString GetURL() const { return GetText(); } + void SetURL(const wxString& url) { SetText(url); } }; #endif // __WXMSW__/!__WXMSW__