X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..69d818954b5e6e7b4b4e5093dd26dbe2d5f8546c:/wxPython/demo/Notebook.py diff --git a/wxPython/demo/Notebook.py b/wxPython/demo/Notebook.py index c9740ce678..c4dc0a5504 100644 --- a/wxPython/demo/Notebook.py +++ b/wxPython/demo/Notebook.py @@ -1,7 +1,3 @@ -# 11/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import sys @@ -116,14 +112,14 @@ def runTest(frame, nb, log): overview = """\ -

wxNotebook

+

wx.Notebook

This class represents a notebook control, which manages multiple windows with associated tabs.

-To use the class, create a wxNotebook object and call AddPage or +To use the class, create a wx.Notebook object and call AddPage or InsertPage, passing a window to be used as the page. Do not explicitly -delete the window for a page that is currently managed by wxNotebook. +delete the window for a page that is currently managed by wx.Notebook. """ @@ -131,7 +127,7 @@ delete the window for a page that is currently managed by wxNotebook. 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:])