+ int index = event.GetSelection();
+ wxGEditorTabPanel* tab = (wxGEditorTabPanel*)_notebook->GetPage(index);
+ int id = tab->getPanelId();
+ _actual = _panels[id];
+ _parent->refreshGUIControls();
+
+ }
+
+ //=========================================================================
+ std::string wxTabPanelsManager::GetCbName()
+ {
+ return _actual->GetCbName();
+ }
+
+ //=========================================================================
+ void wxTabPanelsManager::SetNameTabPanel(wxString tabpanelname)
+ {
+ int id = _notebook->GetSelection();
+ _notebook->SetPageText( id , tabpanelname );
+ }
+
+ std::string wxTabPanelsManager::GetNameTabPanel()
+ {
+ int id = _notebook->GetSelection();
+ return crea::wx2std(_notebook->GetPageText(id));
+ }
+
+ //=========================================================================
+ //DFCH
+ std::string wxTabPanelsManager::GetCurrentTabPanelPath( )
+ {
+ int id = _notebook->GetSelection();
+ wxGEditorTabPanel* auxPanel = (wxGEditorTabPanel*) _notebook->GetPage(id);
+ return( auxPanel->GetFullPath( ) );
+ //return ( (wxGEditorTabPanel) _notebook->GetPage(id)->GetFullPath( ) );
+ }
+
+
+ //=========================================================================
+ std::string wxTabPanelsManager::GetCbPackageName()
+ {
+ return _actual->GetCbPackageName();
+ }
+
+ //=========================================================================
+ std::string wxTabPanelsManager::GetAuthor()
+ {
+ return _actual->GetAuthor();