]> git.saurik.com Git - wxWidgets.git/commitdiff
write selection info to the log
authorRobin Dunn <robin@alldunn.com>
Mon, 15 Mar 2004 23:08:27 +0000 (23:08 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 15 Mar 2004 23:08:27 +0000 (23:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/MultipleChoiceDialog.py

index 831a054d1995ed205141d931de7cfd7eff4eccd4..df85431ffa7386be5a3a5b8d06d8887650b9e789 100644 (file)
@@ -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()
 
 #---------------------------------------------------------------------------