wxURLDataObjectwxURLDataObject is a wxDataObject containing an URL and can be used e.g. when you need to put an URL on or retrieve it from the clipboard: wxTheClipboard->SetData(new wxURLDataObject(url));Derived from Under MSW:
wxDataObjectComposite Under the other platforms:
wxTextDataObject Include files <wx/dataobj.h> See also
Clipboard and drag and drop overview, Members
wxURLDataObject::wxURLDataObject
wxURLDataObject::wxURLDataObjectwxURLDataObject(const wxString& url = wxEmptyString) Constructor, may be used to initialize the URL. If url is empty, SetURL can be used later.
wxURLDataObject::GetURLwxString GetURL() const Returns the URL stored by this object, as a string.
wxURLDataObject::SetURLvoid SetURL(const wxString& url) Sets the URL stored by this object.
|