]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxDragImage.py
Fixed the code to actually work.
[wxWidgets.git] / wxPython / demo / wxDragImage.py
index 5fcecb0d539d1228b4c81d46314fe50df0dff7fb..74ade7e0eaad69eca0d5a3431d5f4afaa2c2837f 100644 (file)
@@ -194,7 +194,7 @@ class DragCanvas(wxScrolledWindow):
         if not self.dragShape or not evt.Dragging() or not evt.LeftIsDown():
             return
 
-        # if we have a shape, but havn't started dragging yet
+        # if we have a shape, but haven't started dragging yet
         if self.dragShape and not self.dragImage:
 
             # only start the drag after having moved a couple pixels