projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed array tests compilation and a bug in obj array test
[wxWidgets.git]
/
wxPython
/
demo
/
DragAndDrop.py
diff --git
a/wxPython/demo/DragAndDrop.py
b/wxPython/demo/DragAndDrop.py
index 59dff7b2b7ecbcc0a9cc713fa75ecff6ff3dbc69..da17b092998b3149138dd1b12f3070083a51bb96 100644
(file)
--- 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):