X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c14bc9170c549c44cef259546e6c80541be28e5..bfdc04a9bb95e6865570d59192718052b6229221:/wxPython/demo/wxSingleChoiceDialog.py diff --git a/wxPython/demo/wxSingleChoiceDialog.py b/wxPython/demo/wxSingleChoiceDialog.py index c97ec63c63..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'], wxDEFAULT_DIALOG_STYLE|wxOK|wxCANCEL) + 'six', 'seven', 'eight'], wxCHOICEDLG_STYLE) if dlg.ShowModal() == wxID_OK: log.WriteText('You selected: %s\n' % dlg.GetStringSelection()) dlg.Destroy()