]> git.saurik.com Git - wxWidgets.git/blame - wxPython/demo/wxMultipleChoiceDialog.py
typo fixed: should be lpthread, not -lpthread in THREAD_OPTS
[wxWidgets.git] / wxPython / demo / wxMultipleChoiceDialog.py
CommitLineData
cf694132
RD
1
2from wxPython.wx import *
3from wxPython.lib.dialogs import wxMultipleChoiceDialog
4
5#---------------------------------------------------------------------------
6
7def runTest(frame, nb, log):
8 lst = [ 'apple', 'pear', 'banana', 'coconut', 'orange',
9 'etc', 'etc..', 'etc...' ]
10 dlg = wxMultipleChoiceDialog(frame,
11 "Pick some from\n this list\nblah blah...",
12 "m.s.d.", lst)
13 if (dlg.ShowModal() == wxID_OK):
14 print "Selection:", dlg.GetValue(), " -> ", dlg.GetValueString()
15
16#---------------------------------------------------------------------------
17
18
19
20
21
22
23
24
25
26overview = """\
27"""