From da65a4395980fc9f4100d684838ad873f8c3962c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 15 Mar 2004 23:08:27 +0000 Subject: [PATCH] write selection info to the log git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/MultipleChoiceDialog.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() #--------------------------------------------------------------------------- -- 2.50.0