X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/707fbe5d0f6e4988cc42444956cefd4136d0c1fc..3bcdbe527fde583072eefab67de8974c0e17a1e2:/wxPython/demo/FloatCanvas.py diff --git a/wxPython/demo/FloatCanvas.py b/wxPython/demo/FloatCanvas.py index 98bbbdecd0..4b48dac606 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 @@ -30,8 +26,8 @@ You can get it at: overview = "" else: - from wxPython.lib import floatcanvas - import wxPython.lib.colourdb + from wx.lib import floatcanvas + import wx.lib.colourdb ID_ABOUT_MENU = wx.NewId() ID_EXIT_MENU = wx.NewId() @@ -373,10 +369,11 @@ else: def OnInit(self): global colors - wxPython.lib.colourdb.updateColourDB() - colors = wxPython.lib.colourdb.getColourList() + wx.lib.colourdb.updateColourDB() + colors = wx.lib.colourdb.getColourList() - frame = DrawFrame(None, -1, "FloatCanvas Demo App", size=(700,700)) + frame = DrawFrame(None, -1, "FloatCanvas Demo App", + wx.DefaultPosition, (700,700)) self.SetTopWindow(frame) @@ -441,8 +438,8 @@ else: this demo with the rest. """ global colors - wxPython.lib.colourdb.updateColourDB() - colors = wxPython.lib.colourdb.getColourList() + wx.lib.colourdb.updateColourDB() + colors = wx.lib.colourdb.getColourList() win = DrawFrame(None, -1, "FloatCanvas Drawing Window", wx.DefaultPosition, (500,500))