]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/FloatCanvas.py
Reverted to old method names/signatures for wx.DC, updated lib and
[wxWidgets.git] / wxPython / demo / FloatCanvas.py
index 9fe43d606e7eb0b727801fa0fc147c9415cb05e5..4b48dac6066d3c4be707001aa19b1eeb7de4fbd7 100644 (file)
@@ -26,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() 
@@ -369,8 +369,8 @@ 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",
                               wx.DefaultPosition, (700,700))
@@ -438,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))