X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxTabPanelsManager.cxx;h=e00c12e9ba1f6ce229886c89765462ef9450e5ff;hb=16fc4e34641e9905a02dcf7277b21291a683d938;hp=33ad462b69e23b2ad2a1582be76ae18d9de5a0a3;hpb=7a77e00abe30e71c3a97f7a43b106c999ce9db87;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxTabPanelsManager.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxTabPanelsManager.cxx index 33ad462..e00c12e 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxTabPanelsManager.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxTabPanelsManager.cxx @@ -217,13 +217,23 @@ printf("wxTabPanelsManager::VerifyActualTabPanel %d \n", this->_notebook->GetPa { return _actual->GetCbName(); } - + + //========================================================================= void wxTabPanelsManager::SetNameTabPanel(wxString tabpanelname) { int id = _notebook->GetSelection(); _notebook->SetPageText( id , tabpanelname ); } + //========================================================================= + //DFCH + std::string wxTabPanelsManager::GetCurrentTabPanelPath( ) + { + int id = _notebook->GetSelection(); + wxGEditorTabPanel* auxPanel = (wxGEditorTabPanel*) _notebook->GetPage(id); + return( auxPanel->GetFullPath( ) ); + //return ( (wxGEditorTabPanel) _notebook->GetPage(id)->GetFullPath( ) ); + } //=========================================================================