From: Paul K <pau...@ya...> - 2013-05-03 16:41:44
|
Hi All, Does anyone have a simple drag and drop example that works with wxlua? I've seen an example in this ticket (http://sourceforge.net/tracker/index.php?func=detail&aid=3060958&group_id=140042&atid=745327), but can't get it to work. It seems like I'm missing SetDropTarget call, but I can't figure out what to pass it as a parameter. According to the docs (http://docs.wxwidgets.org/2.8/wx_wxwindow.html#wxwindowsetdroptarget) it expects wxDropTarget, but wx.wxDropTarget is an empty table for me, so I'm not sure how to instantiate it. I need to implement it for wxTreeCtrl and wxStyledTextCtrl, but any working example will help. Thank you. Paul. |