//=========================================================================
- wxTabPanelsManager::wxTabPanelsManager(wxAuiNotebook *notebook)
+ wxTabPanelsManager::wxTabPanelsManager(wxGUIEditorGraphicBBS *parent)
{
+ _parent = parent;
_lastId = 0;
- _notebook = notebook;
+ _notebook = _parent->getAuiNotebook();
addNewTab();
}
_lastId++;
wxGEditorTabPanel *newPanel = new wxGEditorTabPanel(_notebook,_lastId);
+ newPanel->setPanelsManager(this);
_panels[_lastId]=newPanel;
_actual = newPanel;
return _actual;
}
+ //=========================================================================
+
+ void wxTabPanelsManager::displayBlackBoxInfo(std::string packageName, std::string boxName)
+ {
+ _parent->displayBlackBoxInfo(packageName,boxName);
+ }
+
+ //=========================================================================
+
/*****************************************************
/* HANDLERS
/*****************************************************/