X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fded56b375bf7a4687af1cdb182899614c1b2a8..72bfca58d997c6f54e92aabc108c1cc18674bbee:/wxPython/demo/wxSingleChoiceDialog.py diff --git a/wxPython/demo/wxSingleChoiceDialog.py b/wxPython/demo/wxSingleChoiceDialog.py index aa649eb750..7330ac6020 100644 --- a/wxPython/demo/wxSingleChoiceDialog.py +++ b/wxPython/demo/wxSingleChoiceDialog.py @@ -6,7 +6,7 @@ from wxPython.wx import * def runTest(frame, nb, log): dlg = wxSingleChoiceDialog(frame, 'Test Single Choice', 'The Caption', ['zero', 'one', 'two', 'three', 'four', 'five', - 'six', 'seven', 'eight'], wxOK|wxCANCEL) + 'six', 'seven', 'eight'], wxCHOICEDLG_STYLE) if dlg.ShowModal() == wxID_OK: log.WriteText('You selected: %s\n' % dlg.GetStringSelection()) dlg.Destroy()