#include </home/zeitlin/src/wx/github/interface/wx/dataobj.h>
wxFileDataObject 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.
Public Member Functions | |
wxFileDataObject () | |
Constructor. | |
void | AddFile (const wxString &file) |
Adds a file to the file list represented by this data object (Windows only). | |
const wxArrayString & | GetFilenames () const |
Returns the array of file names. |
wxFileDataObject::wxFileDataObject | ( | ) |
Constructor.
void wxFileDataObject::AddFile | ( | const wxString & | file | ) |
Adds a file to the file list represented by this data object (Windows only).
const wxArrayString& wxFileDataObject::GetFilenames | ( | ) | const |
Returns the array of file names.