X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c7fd46620119c95281a602f9813bb1d27a5e224..57d0f66a02c560a1d7c772c1272aedd03eb709ea:/wxPython/demo/Treebook.py 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):