]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxSingleChoiceDialog.py
Committing in .
[wxWidgets.git] / wxPython / demo / wxSingleChoiceDialog.py
index 6e9c3a3af9c66a52f31133ba05abc062c7a0d898..df2d2b1b0ede8355ea9adae8b33553c53a7d0ca9 100644 (file)
@@ -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'])
+                                'six', 'seven', 'eight'], wxOK|wxCANCEL)
     if dlg.ShowModal() == wxID_OK:
         log.WriteText('You selected: %s\n' % dlg.GetStringSelection())
     dlg.Destroy()