Added ctrl+t support to add a tab.

Darriele used a different name for the AddTab function, so I just had to change one the call in multiSwitch :)
This commit is contained in:
Corollax
2010-11-19 06:32:18 -06:00
parent 88d66289da
commit c4b9773bc2

View File

@@ -80,7 +80,7 @@ class MainFrame(wx.Frame):
faSizer = wx.BoxSizer(wx.VERTICAL)
self.fitMultiSwitch = MultiSwitch(self.FitviewAdditionsPanel)
#self.fitMultiSwitch.AddTab()
#self.fitMultiSwitch.AddPage()
faSizer.Add(self.fitMultiSwitch,1,wx.EXPAND)
self.additionsPane = AdditionsPane(self.FitviewAdditionsPanel)
@@ -273,7 +273,7 @@ class MainFrame(wx.Frame):
def HAddTab(self,event):
self.fitMultiSwitch.AddTab()
self.fitMultiSwitch.AddPage(wx.Panel(self), "Empty Tab")
def toggleShipMarket(self, event):
sel = self.notebookBrowsers.GetSelection()