]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/DragAndDrop.py
Committing in .
[wxWidgets.git] / wxPython / demo / DragAndDrop.py
index 59dff7b2b7ecbcc0a9cc713fa75ecff6ff3dbc69..da17b092998b3149138dd1b12f3070083a51bb96 100644 (file)
@@ -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):