]> git.saurik.com Git - wxWidgets.git/commitdiff
Added OnDragOver returning wxDragCopy so text can be dropped from IE 6.
authorRobin Dunn <robin@alldunn.com>
Tue, 22 Jan 2002 20:18:42 +0000 (20:18 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 22 Jan 2002 20:18:42 +0000 (20:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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):