A few tweaks and some cleanup for the wxPython demo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-02-21 00:50:27 +00:00
parent ce22d615fe
commit a1bfae9d83
4 changed files with 31 additions and 24 deletions

View File

@@ -6,7 +6,7 @@ from wxPython.wx import *
def runTest(frame, nb, log):
dlg = wxTextEntryDialog(frame, 'What is your favorite programming language?',
'Duh??', 'Python')
dlg.SetValue("Python is the best!") #### this doesn't work?
dlg.SetValue("Python is the best!")
if dlg.ShowModal() == wxID_OK:
log.WriteText('You entered: %s\n' % dlg.GetValue())
dlg.Destroy()