1 \section{\class{wxFileDataObject
}}\label{wxfiledataobject
}
3 wxFileDataObject is a specialization of
\helpref{wxDataObject
}{wxdataobject
}
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
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
10 {\bf Warning:
} Under all non-Windows platforms this class is currently
11 "input-only", i.e. you can receive the files from another application, but
12 copying (or dragging) file(s) from a wxWidgets application is not currently
15 \wxheading{Virtual functions to override
}
19 \wxheading{Derived from
}
21 \helpref{wxDataObjectSimple
}{wxdataobjectsimple
}\\
22 \helpref{wxDataObject
}{wxdataobject
}
24 \wxheading{Include files
}
30 \helpref{wxDataObject
}{wxdataobject
},
31 \helpref{wxDataObjectSimple
}{wxdataobjectsimple
},
32 \helpref{wxTextDataObject
}{wxtextdataobject
},
33 \helpref{wxBitmapDataObject
}{wxbitmapdataobject
},
34 \helpref{wxDataObject
}{wxdataobject
}
36 \latexignore{\rtfignore{\wxheading{Members
}}}
38 \membersection{wxFileDataObject
}\label{wxfiledataobjectwxfiledataobject
}
40 \func{}{wxFileDataObject
}{\void}
44 \membersection{wxFileDataObject::AddFile
}\label{wxfiledataobjectaddfile
}
46 \func{virtual void
}{AddFile
}{\param{const wxString\&
}{file
}}
48 {\bf MSW only:
} adds a file to the file list represented by this data object.
50 \membersection{wxFileDataObject::GetFilenames
}\label{wxfiledataobjectgetfilenames
}
52 \constfunc{const wxArrayString\&
}{GetFilenames
}{\void}
54 Returns the
\helpref{array
}{wxarraystring
} of file names.