projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
An icon for the doc viewer
[wxWidgets.git]
/
wxPython
/
demo
/
MultipleChoiceDialog.py
diff --git
a/wxPython/demo/MultipleChoiceDialog.py
b/wxPython/demo/MultipleChoiceDialog.py
index 831a054d1995ed205141d931de7cfd7eff4eccd4..df85431ffa7386be5a3a5b8d06d8887650b9e789 100644
(file)
--- a/
wxPython/demo/MultipleChoiceDialog.py
+++ b/
wxPython/demo/MultipleChoiceDialog.py
@@
-14,7
+14,9
@@
def runTest(frame, nb, log):
"m.s.d.", lst)
if (dlg.ShowModal() == wx.ID_OK):
"m.s.d.", lst)
if (dlg.ShowModal() == wx.ID_OK):
- print "Selection:", dlg.GetValue(), " -> ", dlg.GetValueString()
+ log.write("Selection: %s -> %s\n" % (dlg.GetValue(), dlg.GetValueString()))
+
+ dlg.Destroy()
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------