1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxURLDataObject documentation
4 %% Author: Vadim Zeitlin
7 %% Copyright: (c) 2006 Vadim Zeitlin
8 %% License: wxWindows license
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11 \section{\class{wxURLDataObject
}}\label{wxurldataobject
}
13 wxURLDataObject is a
\helpref{wxDataObject
}{wxdataobject
} containing an URL
14 and can be used e.g. when you need to put an URL on or retrieve it from the
17 wxTheClipboard->SetData(new wxURLDataObject(url));
21 \wxheading{Derived from
}
25 \helpref{wxDataObjectComposite
}{wxdataobjectcomposite
}\\
26 \helpref{wxDataObject
}{wxdataobject
}
28 Under the other platforms:
30 \helpref{wxTextDataObject
}{wxtextdataobject
}\\
31 \helpref{wxDataObjectSimple
}{wxdataobjectsimple
}\\
32 \helpref{wxDataObject
}{wxdataobject
}
34 \wxheading{Include files
}
40 \helpref{Clipboard and drag and drop overview
}{wxdndoverview
},\\
41 \helpref{wxDataObject
}{wxdataobject
}
44 \latexignore{\rtfignore{\wxheading{Members
}}}
46 \membersection{wxURLDataObject::wxURLDataObject
}\label{wxurldataobjectctor
}
48 \func{}{wxURLDataObject
}{\param{const wxString\&
}{url = wxEmptyString
}}
50 Constructor, may be used to initialize the URL. If
\arg{url
} is empty,
51 \helpref{SetURL
}{wxurldataobjectseturl
} can be used later.
54 \membersection{wxURLDataObject::GetURL
}\label{wxurldataobjectgeturl
}
56 \constfunc{wxString
}{GetURL
}{\void}
58 Returns the URL stored by this object, as a string.
61 \membersection{wxURLDataObject::SetURL
}\label{wxurldataobjectseturl
}
63 \func{void
}{SetURL
}{\param{const wxString\&
}{url
}}
65 Sets the URL stored by this object.