Size fix when replacing an existing page

This commit is contained in:
HomeWorld
2010-11-17 15:21:50 +02:00
parent 4359fa46b0
commit 03a4a004ea

View File

@@ -107,7 +107,8 @@ class PFNotebook(wx.Panel):
oldPage.Destroy()
page.Reparent(self.pageContainer)
page.Layout()
wsize = self.pageContainer.GetSize()
page.SetSize(wsize)
page.Show()
def ReplaceActivePage(self, page):