X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c072c75701861cb508a1a46c50c3223359169242..d8dd214c1bccfd7a7defdbbedd69aef706a8816b:/include/wx/dataobj.h diff --git a/include/wx/dataobj.h b/include/wx/dataobj.h index 174c649316..2201cd195a 100644 --- a/include/wx/dataobj.h +++ b/include/wx/dataobj.h @@ -525,6 +525,11 @@ private: class WXDLLEXPORT wxURLDataObject : public wxTextDataObject { public: + wxURLDataObject(const wxString& url = wxEmptyString) + : wxTextDataObject(url) + { + } + wxString GetURL() const { return GetText(); } void SetURL(const wxString& url) { SetText(url); } };