X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4416b50837c52b62bd0e21c05bcc29a129e97631..6a30d63aeddf193ee6e672ce29911a8d29f4fe03:/wxPython/demo/ContextHelp.py diff --git a/wxPython/demo/ContextHelp.py b/wxPython/demo/ContextHelp.py index 2c2a567ab7..044e36dbe6 100644 --- a/wxPython/demo/ContextHelp.py +++ b/wxPython/demo/ContextHelp.py @@ -53,7 +53,7 @@ class TestPanel(wxPanel): border = wxBoxSizer(wxVERTICAL) border.Add(sizer, 0, wxALL, 25) - self.SetAutoLayout(true) + self.SetAutoLayout(True) self.SetSizer(border) self.Layout() @@ -81,8 +81,8 @@ def runTest(frame, nb, log): overview = """ -This demo shows how to encorporate Context Sensitive -help into your applicaiton using the wxSimpleHelpProvider class. +This demo shows how to incorporate Context Sensitive +help into your application using the wxSimpleHelpProvider class. """ @@ -90,3 +90,10 @@ help into your applicaiton using the wxSimpleHelpProvider class. #---------------------------------------------------------------------- + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +