X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/demo/ContextHelp.py?ds=sidebyside diff --git a/wxPython/demo/ContextHelp.py b/wxPython/demo/ContextHelp.py index 561a597a5b..a3aea8b3e6 100644 --- a/wxPython/demo/ContextHelp.py +++ b/wxPython/demo/ContextHelp.py @@ -1,11 +1,3 @@ -# 11/4/2003 - grimmtooth@softhome.net (Jeff Grimmett) -# -# o Modified for V2.5 -# -# 11/24/2003 - grimmtooth@softhome.net (Jeff Grimmett) -# -# o Removed import of wx.help - now part of wx.core. -# import wx @@ -43,8 +35,8 @@ class TestPanel(wx.Panel): cBtnText.SetHelpText("Some helpful text...") s = wx.BoxSizer(wx.HORIZONTAL) - s.Add(cBtn, 0, wxALL, 5) - s.Add(cBtnText, 0, wxALL, 5) + s.Add(cBtn, 0, wx.ALL, 5) + s.Add(cBtnText, 0, wx.ALL, 5) sizer.Add((20,20)) sizer.Add(s) @@ -115,5 +107,5 @@ help into your application using the wx.SimpleHelpProvider class. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])