X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc4b282d2fcc9bb793264da6bc53b030336c41c6..b843b628c9f936d6a87ca1e9b91e88a4604270c4:/wxPython/samples/doodle/superdoodle.py diff --git a/wxPython/samples/doodle/superdoodle.py b/wxPython/samples/doodle/superdoodle.py index 154d89f7b1..515758aa12 100644 --- a/wxPython/samples/doodle/superdoodle.py +++ b/wxPython/samples/doodle/superdoodle.py @@ -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()