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):
- print self.GetTreeCtrl().GetBestSize()
+ #print self.GetTreeCtrl().GetBestSize()
self.GetTreeCtrl().InvalidateBestSize()
self.SendSizeEvent()
- print self.GetTreeCtrl().GetBestSize()
+ #print self.GetTreeCtrl().GetBestSize()
def makeColorPanel(self, color):