]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/fildatob.tex
added copy constr
[wxWidgets.git] / docs / latex / wx / fildatob.tex
CommitLineData
dface61c
JS
1\section{\class{wxFileDataObject}}\label{wxfiledataobject}
2
717a57c2 3wxFileDataObject is a specialization of \helpref{wxDataObject}{wxdataobject}
fa482912
JS
4for file names. The program works with it just as if it were a list of absolute file
5names, but internally it uses the same format as
87a1e308
VZ
6Explorer and other compatible programs under Windows or GNOME/KDE filemanager
7under Unix which makes it possible to receive files from them using this
8class.
9
10{\bf Warning:} Under all non-Windows platforms this class is currently
2edb0bde 11"input-only", i.e. you can receive the files from another application, but
fc2171bd 12copying (or dragging) file(s) from a wxWidgets application is not currently
3980000c 13supported. PS: GTK2 should work as well.
717a57c2
VZ
14
15\wxheading{Virtual functions to override}
16
17None.
dface61c
JS
18
19\wxheading{Derived from}
20
407f3681 21\helpref{wxDataObjectSimple}{wxdataobjectsimple}\\
dface61c
JS
22\helpref{wxDataObject}{wxdataobject}
23
954b8ae6
JS
24\wxheading{Include files}
25
26<wx/dataobj.h>
27
a7af285d
VZ
28\wxheading{Library}
29
30\helpref{wxCore}{librarieslist}
31
dface61c
JS
32\wxheading{See also}
33
717a57c2
VZ
34\helpref{wxDataObject}{wxdataobject},
35\helpref{wxDataObjectSimple}{wxdataobjectsimple},
36\helpref{wxTextDataObject}{wxtextdataobject},
fa482912 37\helpref{wxBitmapDataObject}{wxbitmapdataobject},
dface61c
JS
38\helpref{wxDataObject}{wxdataobject}
39
40\latexignore{\rtfignore{\wxheading{Members}}}
41
717a57c2 42\membersection{wxFileDataObject}\label{wxfiledataobjectwxfiledataobject}
dface61c
JS
43
44\func{}{wxFileDataObject}{\void}
45
46Constructor.
47
87a1e308
VZ
48\membersection{wxFileDataObject::AddFile}\label{wxfiledataobjectaddfile}
49
50\func{virtual void}{AddFile}{\param{const wxString\& }{file}}
51
52{\bf MSW only:} adds a file to the file list represented by this data object.
53
717a57c2 54\membersection{wxFileDataObject::GetFilenames}\label{wxfiledataobjectgetfilenames}
dface61c 55
717a57c2 56\constfunc{const wxArrayString\& }{GetFilenames}{\void}
dface61c 57
717a57c2 58Returns the \helpref{array}{wxarraystring} of file names.
dface61c 59