]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Notebook.py
tweaks
[wxWidgets.git] / wxPython / demo / Notebook.py
index 51029143187358e799dcadb0c08c707d39c5cafd..9637ba95fae62dc07ce9a01370d0c0de60e4f757 100644 (file)
@@ -13,12 +13,12 @@ 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 +127,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:])