]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/CustomDragAndDrop.py
Tcl regex lib
[wxWidgets.git] / wxPython / demo / CustomDragAndDrop.py
index 511aa601b3e799d9bfde99b44677cf3f73b968f3..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 = []
@@ -210,9 +210,10 @@ class CustomDnDPanel(wxPanel):
         # Make the controls
         text1 = wxStaticText(self, -1,
                             "Draw a little picture in this window\n"
-                            "then Ctrl-Drag it to the lower \n"
-                            "window or to another application\n"
-                            "that accepts BMP's as a drop target.\n"
+                            "then switch the mode below and drag the\n"
+                            "picture to the lower window or to another\n"
+                            "application that accepts BMP's as a drop\n"
+                             "target.\n"
                             )
 
         rb1 = wxRadioButton(self, -1, "Draw", style=wxRB_GROUP)