X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b62f00d8e3ec5437ab780cb3d73d299cc61e20c..116d6bea10eaa90bcd404c0feb061320b2920267:/wxPython/demo/wxTextEntryDialog.py diff --git a/wxPython/demo/wxTextEntryDialog.py b/wxPython/demo/wxTextEntryDialog.py index b0049d6506..3fd27aee90 100644 --- a/wxPython/demo/wxTextEntryDialog.py +++ b/wxPython/demo/wxTextEntryDialog.py @@ -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() @@ -17,14 +17,15 @@ def runTest(frame, nb, log): +overview = """\ +""" - - -overview = """\ - -""" +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])])