X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..68ff6404bb8ea57371214a6c8a416cf8a4a31453:/wxPython/demo/MultipleChoiceDialog.py diff --git a/wxPython/demo/MultipleChoiceDialog.py b/wxPython/demo/MultipleChoiceDialog.py index 831a054d19..df85431ffa 100644 --- 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): - print "Selection:", dlg.GetValue(), " -> ", dlg.GetValueString() + log.write("Selection: %s -> %s\n" % (dlg.GetValue(), dlg.GetValueString())) + + dlg.Destroy() #---------------------------------------------------------------------------