Re[3]: [wx-dev] wxDataViewCtrl DnD API
robert at roebling.de
robert at roebling.de
Wed Jan 2 01:15:29 PST 2008
> What about:
>
> // call this to enable dnd of the data in the specified format(s)
> void AllowDnD(const wxDataFormat& format);
> void AllowDnD(const wxVector<wxDataFormat>& formats);
wxDataFormat represents a single native format. wxTextDataObject
can and should actually be several such formats (at least under
Unix) such as UTF8_STRING and STRING, although supporting
just 1 is probably enough for the vast majority of cases and it will
work with the vast majority of apps and hopefully all major ones.
I hope that Qt/KDE apps also support UTF8_STRING.
Robert
More information about the wx-dev
mailing list