OnData has an implementation in wxTextDropTarget and wxFileDropTarget

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-03-31 17:14:31 +00:00
parent 5f21090a6f
commit 75a22d87a9

View File

@@ -82,6 +82,12 @@ def run():
module.addPyCode("PyDropTarget = wx.deprecated(DropTarget, 'Use DropTarget instead.')")
c = module.find('wxTextDropTarget')
c.addItem(etgtools.WigCode("virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def);"))
c = module.find('wxFileDropTarget')
c.addItem(etgtools.WigCode("virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def);"))
#-----------------------------------------------------------------
tools.doCommonTweaks(module)