]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxColourDialog.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / wxColourDialog.py
index a949731ff1d43d2d5ca43f86b8d14491399a77d4..c4d42aebbf673b00bb81bdbbd899d4f7b45f1b50 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()))