X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/407f36811ed2513233df1343f0b3591f09efb77e..69a126b0c72e4318adb5b1d526f1082d368c7509:/docs/latex/wx/fildatob.tex diff --git a/docs/latex/wx/fildatob.tex b/docs/latex/wx/fildatob.tex index 03fd12f6d0..32b35fc26d 100644 --- a/docs/latex/wx/fildatob.tex +++ b/docs/latex/wx/fildatob.tex @@ -1,10 +1,16 @@ \section{\class{wxFileDataObject}}\label{wxfiledataobject} wxFileDataObject is a specialization of \helpref{wxDataObject}{wxdataobject} -for file names. Unlike other predefined wxDataObject derivations, it only works -in one direction - the one of setting the data, i.e. the program can only -receive files dropped on it using it and there is no way (currently) to -initiate a drag and drop file operation. +for file names. The program works with it just as if it were a list of absolute file +names, but internally it uses the same format as +Explorer and other compatible programs under Windows or GNOME/KDE filemanager +under Unix which makes it possible to receive files from them using this +class. + +{\bf Warning:} Under all non-Windows platforms this class is currently +"input-only", i.e. you can receive the files from another application, but +copying (or dragging) file(s) from a wxWindows application is not currently +supported. \wxheading{Virtual functions to override} @@ -24,7 +30,7 @@ None. \helpref{wxDataObject}{wxdataobject}, \helpref{wxDataObjectSimple}{wxdataobjectsimple}, \helpref{wxTextDataObject}{wxtextdataobject}, -\helpref{wxBitmapDataObject}{wxbitmapdataobject} +\helpref{wxBitmapDataObject}{wxbitmapdataobject}, \helpref{wxDataObject}{wxdataobject} \latexignore{\rtfignore{\wxheading{Members}}} @@ -35,6 +41,12 @@ None. Constructor. +\membersection{wxFileDataObject::AddFile}\label{wxfiledataobjectaddfile} + +\func{virtual void}{AddFile}{\param{const wxString\& }{file}} + +{\bf MSW only:} adds a file to the file list represented by this data object. + \membersection{wxFileDataObject::GetFilenames}\label{wxfiledataobjectgetfilenames} \constfunc{const wxArrayString\& }{GetFilenames}{\void}