]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxColourDialog.py
Added wxRTTI for the new wxVScrolledWindow, wxVListBox, and
[wxWidgets.git] / wxPython / demo / wxColourDialog.py
index a949731ff1d43d2d5ca43f86b8d14491399a77d4..151db30873bd2d8bf21dc79e558ccd2f0c9a65e1 100644 (file)
@@ -5,7 +5,7 @@ from wxPython.wx import *
 
 def runTest(frame, nb, log):
     dlg = wxColourDialog(frame)
-    dlg.GetColourData().SetChooseFull(true)
+    dlg.GetColourData().SetChooseFull(True)
     if dlg.ShowModal() == wxID_OK:
         data = dlg.GetColourData()
         log.WriteText('You selected: %s\n' % str(data.GetColour().Get()))
@@ -29,3 +29,13 @@ This class represents the colour chooser dialog.
 
 
 """
+
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
+