import images
-# This loads a whole bunch of new color names and values
-# into wxTheColourDatabase
-
-colourdb.updateColourDB()
-
#----------------------------------------------------------------------
class TestWindow(wxScrolledWindow):
wxScrolledWindow.__init__(self, parent, -1)
self.clrList = colourdb.getColourList()
+ #self.clrList.sort()
self.bg_bmp = images.getGridBGBitmap()
EVT_PAINT(self, self.OnPaint)
dc = wxClientDC(self)
dc.SetFont(self.font)
- w,h,d,e = dc.GetFullTextExtent("Wy") # a wide character and one that decends
+ w,h,d,e = dc.GetFullTextExtent("Wy") # a wide character and one that descends
self.textHeight = h + d
self.lineHeight = self.textHeight + 5
self.cellWidth = w
def runTest(frame, nb, log):
+ # This loads a whole bunch of new color names and values
+ # into wxTheColourDatabase
+ colourdb.updateColourDB()
+
win = TestPanel(nb)
return win
overview = """
"""
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+