]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/doodle/doodle.py
Applied new master define for CommandBar vs. PocketPC mixed bar.
[wxWidgets.git] / wxPython / samples / doodle / doodle.py
index 117cf8e7fc83e7ce654c01e5929fc7902d494b16..5c4c641fae1f9fd079e942e034389a88cc748367 100644 (file)
@@ -174,7 +174,7 @@ class DoodleWindow(wx.Window):
             dc.BeginDrawing()
             dc.SetPen(self.pen)
             pos = event.GetPosition()
-            coords = (self.pos, pos)
+            coords = (self.pos.x, self.pos.y, pos.x, pos.y)
             self.curLine.append(coords)
             dc.DrawLine(*coords)
             self.pos = pos