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()
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",
wx.DefaultPosition, (700,700))
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))