wxfiledataobjectwxfiledataobject is a specialization of wxdataobject 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. 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 wxwidgets application is not currently supported. ps: gtk2 should work as well. virtual functions to override none. derived from
wxdataobjectsimple include files <wx/dataobj.h> see also wxdataobject, wxdataobjectsimple, wxtextdataobject, wxbitmapdataobject, wxdataobject members
wxfiledataobject
wxfiledataobjectwxfiledataobject() constructor.
wxfiledataobject::addfilevirtual void addfile(const wxstring& file) msw only: adds a file to the file list represented by this data object.
wxfiledataobject::getfilenamesconst wxarraystring& getfilenames() const returns the array of file names.
|