]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/doodle/superdoodle.py
Automatically disable wxDialupManager for wxMac and wxCocoa,
[wxWidgets.git] / wxPython / samples / doodle / superdoodle.py
index 154d89f7b1d3e1c0778715457f98a7afa1c7689e..515758aa12ff451505cbe24d1800098fc37b70c9 100644 (file)
@@ -321,7 +321,7 @@ class ColourIndicator(wx.Window):
             pen = wx.Pen(self.colour, self.thickness)
             dc.BeginDrawing()
             dc.SetPen(pen)
-            dc.DrawLine((10, sz.height/2), (sz.width-10, sz.height/2))
+            dc.DrawLine(10, sz.height/2, sz.width-10, sz.height/2)
             dc.EndDrawing()
 
 
@@ -399,5 +399,5 @@ class DoodleApp(wx.App):
 #----------------------------------------------------------------------
 
 if __name__ == '__main__':
-    app = DoodleApp(0)
+    app = DoodleApp(redirect=True)
     app.MainLoop()