From: Paul K <pau...@ya...> - 2014-01-28 17:06:18
|
Hi John, > 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. Do you by any chance have a simple example of how URLDropTarget can be done (similar to the one you have for FileDropTarget)? I'm struggling with converting C++ examples to Lua when these DropTarget objects are involved as the code doesn't seem to map 1-to-1. Thank you! Paul. |