X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..db679b8c836e69c111cdc31e62cf92cebe4f938f:/wxPython/demo/Notebook.py diff --git a/wxPython/demo/Notebook.py b/wxPython/demo/Notebook.py index 5102914318..3f369001f3 100644 --- a/wxPython/demo/Notebook.py +++ b/wxPython/demo/Notebook.py @@ -13,12 +13,13 @@ import images class TestNB(wx.Notebook): def __init__(self, parent, id, log): - wx.Notebook.__init__(self, parent, id, style= - #wxNB_TOP - wx.NB_BOTTOM - #wxNB_LEFT - #wxNB_RIGHT - ) + wx.Notebook.__init__(self, parent, id, size=(21,21), + #style= + #wx.NB_TOP # | wx.NB_MULTILINE + #wx.NB_BOTTOM + #wx.NB_LEFT + #wx.NB_RIGHT + ) self.log = log win = self.makeColorPanel(wx.BLUE) @@ -127,7 +128,7 @@ delete the window for a page that is currently managed by wx.Notebook. 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:])