#include </home/zeitlin/src/wx/github/interface/wx/dataobj.h>
wxURLDataObject 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));
Public Member Functions | |
wxURLDataObject (const wxString &url=wxEmptyString) | |
Constructor, may be used to initialize the URL. | |
wxString | GetURL () const |
Returns the URL stored by this object, as a string. | |
void | SetURL (const wxString &url) |
Sets the URL stored by this object. |
wxURLDataObject::wxURLDataObject | ( | const wxString & | url = wxEmptyString | ) |
Constructor, may be used to initialize the URL.
If url is empty, SetURL() can be used later.
wxString wxURLDataObject::GetURL | ( | ) | const |
Returns the URL stored by this object, as a string.
void wxURLDataObject::SetURL | ( | const wxString & | url | ) |
Sets the URL stored by this object.