AW: Question regarding new changes in wxFileDataObject since wx2.8.4

Lisong lisong.sun at gmail.com
Wed Oct 10 12:39:15 PDT 2007


"robert at roebling.de" wrote:
> > I have a data browser kind of application that manage files on a
> > web server. I was using DnD with wxDragSource containing
> > wxFileDataObject. When DnD inside the browser I made the
> >  wxFileDataObject Add URL strings instead of real file paths.
>
> You mean something like "file:///home/robert/myfile.txt" or also
> other protocols?

It was more like "http://www.myserver.com/myfile.txt". My guess is
when the file data object is copied from drag source to drop target,
it will not copy over strings that is not a proper file uri. I will
run some tests in gtkl/dataobj.cpp when I have a chance.

Lisong

>
> > It was working fine until I upgraded to 2.8.6. The drop target
> > can't get any file path (in my case URL's) after GetData().
>
> Could you check what happens in src/gtkl/dataobj.cpp, after
> the call to g_filename_from_uri(). What is the URL that fails.
>
>   Robert
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org







More information about the wx-users mailing list