[wx-dev] wxDataViewCtrl DnD API

Vadim Zeitlin vadim at wxwidgets.org
Wed Jan 2 05:52:11 PST 2008


On Wed, 02 Jan 2008 10:15:29 +0100 "robert at roebling.de" <robert at roebling.de> wrote:

r> >  What about:
r> > 
r> > 	// call this to enable dnd of the data in the specified format(s)
r> > 	void AllowDnD(const wxDataFormat& format);
r> > 	void AllowDnD(const wxVector<wxDataFormat>& formats);
r> 
r> wxDataFormat represents a single native format. wxTextDataObject
r> can and should actually be several such formats

 Good point, sorry for forgetting about this. I agree that using
wxDataObject makes better sense then.

 Regards,
VZ




More information about the wx-dev mailing list