From 75a22d87a9263472c174f01085826b37bb9db40f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sun, 31 Mar 2013 17:14:31 +0000 Subject: [PATCH] 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 --- etg/dnd.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etg/dnd.py b/etg/dnd.py index 441109a0..ef7a6f39 100644 --- a/etg/dnd.py +++ b/etg/dnd.py @@ -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)