X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b62f00d8e3ec5437ab780cb3d73d299cc61e20c..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/demo/wxColourDialog.py diff --git a/wxPython/demo/wxColourDialog.py b/wxPython/demo/wxColourDialog.py index e750561b93..c4d42aebbf 100644 --- a/wxPython/demo/wxColourDialog.py +++ b/wxPython/demo/wxColourDialog.py @@ -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())) @@ -27,11 +27,5 @@ def runTest(frame, nb, log): overview = """\ This class represents the colour chooser dialog. -wxColourDialog() ------------------------------- - -wxColourDialog(wxWindow* parent, wxColourData* data = NULL) - -Constructor. Pass a parent window, and optionally a pointer to a block of colour data, which will be copied to the colour dialog's colour data. """