workaround sizing bug on Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-08-25 19:49:15 +00:00
parent 6c7fd46620
commit 086ee959df

View File

@ -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):