Added OnDragOver returning wxDragCopy so text can be dropped from IE 6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b040e242e7
commit
e00a2cc77a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user