Make sure the window have size 0,0 at creation time or it will look nasty till it gets reparented

This commit is contained in:
HomeWorld
2010-11-19 14:36:35 +02:00
parent 77f1c6d347
commit 7939d302e1

View File

@@ -276,7 +276,7 @@ class MainFrame(wx.Frame):
def HAddTab(self,event):
self.fitMultiSwitch.AddPage(wx.Panel(self), "Empty Tab")
self.fitMultiSwitch.AddPage(wx.Panel(self, size = (0,0)), "Empty Tab")
def toggleShipMarket(self, event):
sel = self.notebookBrowsers.GetSelection()