Fixed a layout bug in multiSwitch (when showing a fit in a new tab)

This commit is contained in:
HomeWorld
2010-11-03 13:48:45 +02:00
parent 469f4939a7
commit 52ec623e76

View File

@@ -74,6 +74,7 @@ class MultiSwitch(wx.Notebook):
sizer.Add(p.view, 1, wx.EXPAND | wx.RESERVE_SPACE_EVEN_IF_HIDDEN)
p.SetSizer(sizer)
p.Layout()
self.setTabTitle(pos, None)
else:
self.InsertPage(pos, frame, title)