write selection info to the log

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-03-15 23:08:27 +00:00
parent 6a8fa617f1
commit da65a43959

View 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()
#---------------------------------------------------------------------------