]>
Commit | Line | Data |
---|---|---|
dface61c JS |
1 | \section{\class{wxFileDataObject}}\label{wxfiledataobject} |
2 | ||
717a57c2 | 3 | wxFileDataObject is a specialization of \helpref{wxDataObject}{wxdataobject} |
fa482912 JS |
4 | for file names. The program works with it just as if it were a list of absolute file |
5 | names, but internally it uses the same format as | |
87a1e308 VZ |
6 | Explorer and other compatible programs under Windows or GNOME/KDE filemanager |
7 | under Unix which makes it possible to receive files from them using this | |
8 | class. | |
9 | ||
10 | {\bf Warning:} Under all non-Windows platforms this class is currently | |
11 | "input-only", i.e. you can receieve the files from another application, but | |
12 | copying (or dragging) file(s) from a wxWindows application is not currently | |
13 | supported. | |
717a57c2 VZ |
14 | |
15 | \wxheading{Virtual functions to override} | |
16 | ||
17 | None. | |
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 | ||
dface61c JS |
28 | \wxheading{See also} |
29 | ||
717a57c2 VZ |
30 | \helpref{wxDataObject}{wxdataobject}, |
31 | \helpref{wxDataObjectSimple}{wxdataobjectsimple}, | |
32 | \helpref{wxTextDataObject}{wxtextdataobject}, | |
fa482912 | 33 | \helpref{wxBitmapDataObject}{wxbitmapdataobject}, |
dface61c JS |
34 | \helpref{wxDataObject}{wxdataobject} |
35 | ||
36 | \latexignore{\rtfignore{\wxheading{Members}}} | |
37 | ||
717a57c2 | 38 | \membersection{wxFileDataObject}\label{wxfiledataobjectwxfiledataobject} |
dface61c JS |
39 | |
40 | \func{}{wxFileDataObject}{\void} | |
41 | ||
42 | Constructor. | |
43 | ||
87a1e308 VZ |
44 | \membersection{wxFileDataObject::AddFile}\label{wxfiledataobjectaddfile} |
45 | ||
46 | \func{virtual void}{AddFile}{\param{const wxString\& }{file}} | |
47 | ||
48 | {\bf MSW only:} adds a file to the file list represented by this data object. | |
49 | ||
717a57c2 | 50 | \membersection{wxFileDataObject::GetFilenames}\label{wxfiledataobjectgetfilenames} |
dface61c | 51 | |
717a57c2 | 52 | \constfunc{const wxArrayString\& }{GetFilenames}{\void} |
dface61c | 53 | |
717a57c2 | 54 | Returns the \helpref{array}{wxarraystring} of file names. |
dface61c | 55 |