X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..fc576e8d26ac732652485a08368ff9276a48525a:/wxPython/demo/SashWindow.py?ds=sidebyside diff --git a/wxPython/demo/SashWindow.py b/wxPython/demo/SashWindow.py index b70a3ee7a1..7bb72ee785 100644 --- a/wxPython/demo/SashWindow.py +++ b/wxPython/demo/SashWindow.py @@ -1,8 +1,3 @@ -# 11/21/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# o Should be renamed to wxSashLayoutWindow.py -# import wx @@ -133,13 +128,13 @@ def runTest(frame, nb, log): overview = """\ -wxSashLayoutWindow responds to OnCalculateLayout events generated by +wx.SashLayoutWindow responds to OnCalculateLayout events generated by wxLayoutAlgorithm. It allows the application to use simple accessors to specify how the window should be laid out, rather than having to respond -to events. The fact that the class derives from wxSashWindow allows sashes +to events. The fact that the class derives from wx.SashWindow allows sashes to be used if required, to allow the windows to be user-resizable. -The documentation for wxLayoutAlgorithm explains the purpose of this class +The documentation for wx.LayoutAlgorithm explains the purpose of this class in more detail. """ @@ -148,4 +143,4 @@ in more detail. 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:])