X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f3d6cbcfe97f9f31adc1d5a3affaf620d553c4b..123908fc47164c4437202e96f8dffbbf6e096d5c:/wxPython/demo/CustomDragAndDrop.py diff --git a/wxPython/demo/CustomDragAndDrop.py b/wxPython/demo/CustomDragAndDrop.py index fd416a29b7..46c3ed5240 100644 --- a/wxPython/demo/CustomDragAndDrop.py +++ b/wxPython/demo/CustomDragAndDrop.py @@ -107,7 +107,7 @@ class DoodlePad(wxWindow): dropSource = wxDropSource(self) dropSource.SetData(data) self.log.WriteText("Begining DragDrop\n") - result = dropSource.DoDragDrop(true) + result = dropSource.DoDragDrop(wxDrag_AllowMove) self.log.WriteText("DragDrop completed: %d\n" % result) if result == wxDragMove: self.lines = []