]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ColourSelect.py
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see...
[wxWidgets.git] / wxPython / demo / ColourSelect.py
index 6f2a9e14657b3d50360eca3a61b09099ddbade61..01065dd37b2b19dc797f7836414d114475841bda 100644 (file)
 #              - use sizers
 #              - other minor "improvements"
 #----------------------------------------------------------------------------
-# 11/22/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for V2.5
-# 
-# 11/24/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-# 
-# o Added Bind() handlers to what events can handle it. However, the
-#   colourselect library must be converted before its events can be
-#   bound using the Bind() method.
-#
-# 12/01/2003 - Jeff Grimmett (grimmtooth@softhome.net)
 # 
-# o colourselect lib converted; demo converted to match.
-#
 
 import  wx
 import  wx.lib.colourselect as  csel
@@ -118,12 +105,12 @@ def runTest(frame, nb, log):
 
 
 overview = """\
-
+A coloured button that when clicked allows the user to select a colour from the wxColourDialog.
 """
 
 
 if __name__ == '__main__':
     import sys,os
     import run
-    run.main(['', os.path.basename(sys.argv[0])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])