From 086ee959df16b889a1646037f63648b5fc757f8c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 25 Aug 2006 19:49:15 +0000 Subject: [PATCH] workaround sizing bug on Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/Treebook.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wxPython/demo/Treebook.py b/wxPython/demo/Treebook.py index fded8080a5..7657f94803 100644 --- a/wxPython/demo/Treebook.py +++ b/wxPython/demo/Treebook.py @@ -60,6 +60,7 @@ class TestTB(wx.Treebook): self.Bind(wx.EVT_TREEBOOK_PAGE_CHANGED, self.OnPageChanged) self.Bind(wx.EVT_TREEBOOK_PAGE_CHANGING, self.OnPageChanging) + # This is a workaround for a sizing bug on Mac... wx.FutureCall(100, self.AdjustSize) def AdjustSize(self): -- 2.50.0