X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/846ec2f9ed25beab5015e156b4c92de8caec6a62..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/wxPython/demo/DragAndDrop.py 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):