]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/CustomDragAndDrop.py
Bitmap button updates
[wxWidgets.git] / wxPython / demo / CustomDragAndDrop.py
index fd416a29b7c816b3024fa3fc4efcc4586a7bfa33..46c3ed5240f0af310b615c943b07bb87ff01aef8 100644 (file)
@@ -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 = []