X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..cefae4bc3cac29222757afbd605867b34f421af9:/wxPython/demo/FloatCanvas.py?ds=sidebyside diff --git a/wxPython/demo/FloatCanvas.py b/wxPython/demo/FloatCanvas.py index fc5bdeb2d3..9fe43d606e 100644 --- a/wxPython/demo/FloatCanvas.py +++ b/wxPython/demo/FloatCanvas.py @@ -1,7 +1,3 @@ -# 11/25/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for V2.5 -# import wx @@ -376,7 +372,8 @@ else: wxPython.lib.colourdb.updateColourDB() colors = wxPython.lib.colourdb.getColourList() - frame = DrawFrame(None, -1, "FloatCanvas Demo App",wxDefaultPosition,wxSize(700,700)) + frame = DrawFrame(None, -1, "FloatCanvas Demo App", + wx.DefaultPosition, (700,700)) self.SetTopWindow(frame) @@ -444,7 +441,8 @@ else: wxPython.lib.colourdb.updateColourDB() colors = wxPython.lib.colourdb.getColourList() - win = DrawFrame(None, -1, "FloatCanvas Drawing Window",wxDefaultPosition,wxSize(500,500)) + win = DrawFrame(None, -1, "FloatCanvas Drawing Window", + wx.DefaultPosition, (500,500)) frame.otherWin = win win.Show(True)