More demo conversion and cleanup from Jeff

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-01-13 03:17:17 +00:00
parent 2b5dcd17c1
commit 95bfd958bd
142 changed files with 282 additions and 1155 deletions

View File

@@ -1,16 +1,6 @@
# 11/4/03 - grimmtooth@softhome.net (Jeff Grimmett)
#
# o Updated to use wx namespace
#
# 11/24/03 - grimmtooth@softhome.net (Jeff Grimmett)
#
# o Had to move the call to wx.updateColourDB()
# o Updated several places to change discrete pos and size parameters
# into two-tuples.
#
import wx
import wx.lib.colourdb as cdb
import wx.lib.colourdb
import images
@@ -22,7 +12,7 @@ class TestWindow(wx.ScrolledWindow):
wx.ScrolledWindow.__init__(self, parent, -1)
# Populate our color list
self.clrList = cdb.getColourList()
self.clrList = wx.lib.colourdb.getColourList()
# Just for style points, we'll use this as a background image.
#self.clrList.sort()
@@ -165,7 +155,7 @@ def runTest(frame, nb, log):
# Note 11/24/03 - jg - I moved this into runTest() because
# there must be a wx.App existing before this function
# can be called - this is a change from 2.4 -> 2.5.
cdb.updateColourDB()
wx.lib.colourdb.updateColourDB()
win = TestPanel(nb)