From: John L. <jla...@gm...> - 2014-01-28 06:13:00
|
On Thu, Jan 23, 2014 at 10:24 PM, Paul K <pau...@ya...> wrote: > Hi John, > > Thank you for adding wxLuaFileDropTarget and TextDropTarget; these > work well for me. Now I'm trying to detect URLs dropped from the > browser, but I can't it to work. I'm looking at an example here > ( > http://books.google.com/books?id=CyMsvtgnq0QC&pg=PA299&lpg=PA299&dq=urldroptarget+url > ), > but can't figure out how this can be done in wxlua. Any hint? Thank > you. > > It looks like there is nothing special with their URLDropTarget. I think that simply using the wxLuaTextDropTarget would work. I have added a few more methods to wxDropTarget, namely SetDataObject(), which is probably the key to making it work. Hope this helps, John |