From 568e0fb6ccdfd94d96ce292066ef2a2a8e5c516a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 28 Feb 2003 00:26:53 +0000 Subject: [PATCH] avoid notebook tabs on the bottom on the Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/DrawXXXList.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wxPython/demo/DrawXXXList.py b/wxPython/demo/DrawXXXList.py index 16456f9e3d..776201aa1a 100644 --- a/wxPython/demo/DrawXXXList.py +++ b/wxPython/demo/DrawXXXList.py @@ -316,7 +316,10 @@ def TestText(dc,log): class TestNB(wxNotebook): def __init__(self, parent, id, log): - wxNotebook.__init__(self, parent, id, style=wxNB_BOTTOM) + style = wxNB_BOTTOM + if wxPlatform == "__WXMAC__": + style = 0 + wxNotebook.__init__(self, parent, id, style=style) self.log = log win = DrawPanel(self, TestEllipses, log) @@ -361,7 +364,7 @@ def runTest(frame, nb, log): h = nb.GetClientSize().height if w < 600: w = 600 if h < 400: h = 400 - Init(w, h, 500) + Init(w, h, 200) win = TestNB(nb, -1, log) return win