X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/846ec2f9ed25beab5015e156b4c92de8caec6a62..5270a2f939501d8bb83451ddc15408ee929346e2:/wxPython/demo/DragAndDrop.py?ds=sidebyside 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):