_lastId++;
wxGEditorTabPanel *newPanel = new wxGEditorTabPanel(_notebook,_lastId);
newPanel->setPanelsManager(this);
_panels[_lastId] = newPanel;
_actual = newPanel;
_notebook->AddPage(newPanel, tabName ,true);
_lastId++;
wxGEditorTabPanel *newPanel = new wxGEditorTabPanel(_notebook,_lastId);
newPanel->setPanelsManager(this);
_panels[_lastId] = newPanel;
_actual = newPanel;
_notebook->AddPage(newPanel, tabName ,true);