X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f3d6cbcfe97f9f31adc1d5a3affaf620d553c4b..f19533bfd166432cace3101db90417c5e95e29e4:/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 = []