X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a693e6e0460b6b3c32e4b6f114a3ab7b7cd24ea..f6bcfd974ef26faf6f91a62cac09827e09463fd1:/wxPython/demo/wxMultipleChoiceDialog.py diff --git a/wxPython/demo/wxMultipleChoiceDialog.py b/wxPython/demo/wxMultipleChoiceDialog.py new file mode 100644 index 0000000000..6e3fb5de55 --- /dev/null +++ b/wxPython/demo/wxMultipleChoiceDialog.py @@ -0,0 +1,27 @@ + +from wxPython.wx import * +from wxPython.lib.dialogs import wxMultipleChoiceDialog + +#--------------------------------------------------------------------------- + +def runTest(frame, nb, log): + lst = [ 'apple', 'pear', 'banana', 'coconut', 'orange', + 'etc', 'etc..', 'etc...' ] + dlg = wxMultipleChoiceDialog(frame, + "Pick some from\n this list\nblah blah...", + "m.s.d.", lst) + if (dlg.ShowModal() == wxID_OK): + print "Selection:", dlg.GetValue(), " -> ", dlg.GetValueString() + +#--------------------------------------------------------------------------- + + + + + + + + + +overview = """\ +"""