From e00a2cc77a3717764b6a31b25c9362c99f5502f0 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 22 Jan 2002 20:18:42 +0000 Subject: [PATCH] Added OnDragOver returning wxDragCopy so text can be dropped from IE 6. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/DragAndDrop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wxPython/demo/DragAndDrop.py b/wxPython/demo/DragAndDrop.py index 59dff7b2b7..da17b09299 100644 --- a/wxPython/demo/DragAndDrop.py +++ b/wxPython/demo/DragAndDrop.py @@ -120,6 +120,8 @@ class MyTextDropTarget(wxTextDropTarget): def OnDropText(self, x, y, text): self.window.WriteText("(%d, %d)\n%s\n" % (x, y, text)) + def OnDragOver(self, x, y, d): + return wxDragCopy class FileDropPanel(wxPanel): -- 2.45.2