]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Notebook.py
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see...
[wxWidgets.git] / wxPython / demo / Notebook.py
index b9305add34edfcda97355ff8c08b7b0d2f0ebdf9..3f369001f3a121a608d1302c1aaa86466cd2f058 100644 (file)
@@ -13,12 +13,13 @@ import  images
 
 class TestNB(wx.Notebook):
     def __init__(self, parent, id, log):
 
 class TestNB(wx.Notebook):
     def __init__(self, parent, id, log):
-        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
-                            )
+        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)
         self.log = log
 
         win = self.makeColorPanel(wx.BLUE)