X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FcreaButtonContainer%2Fview%2FbuttonContainerPanel.cxx;h=fb273461149a021192d3b7a739a1fc53efd5e25b;hb=ff116b1d805145619b44879358f1fa8521ef5569;hp=bdd564998b6cc042961643972084819c7d13d842;hpb=db86dba6381cc26c3fa1070608b2ac56abeb823c;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.cxx index bdd5649..fb27346 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.cxx @@ -49,7 +49,7 @@ namespace creaButtonContainer std::cout<< std::endl << " MLER buttonContainerPanel.cxx / ButtonContainerPanel() " << std::endl; ButtonGroupFactory factory; - ListGroupFactory listFactory; + //ListGroupFactory listFactory; //MLER this->SetButtonGroupContainer( factory.CreateButtonGroupContainer( this, settings ) ); @@ -59,10 +59,10 @@ namespace creaButtonContainer case 0: this->SetButtonGroupContainer( factory.CreateButtonGroupContainer( this, settings ) ); break; - case 1: - this->SetListGroupContainer(listFactory.CreateButtonGroupContainer( this, settings ) ); + //case 1: + //this->SetListGroupContainer(listFactory.CreateButtonGroupContainer( this, settings ) ); // MLER Verificar ButtonGroupList contra ListGroupList - break; + //break; default: this->SetButtonGroupContainer(factory.CreateButtonGroupContainer( this, settings ) ); } @@ -84,10 +84,10 @@ namespace creaButtonContainer this->m_ButtonGroupList = groupContainer; } // ---------------------------------------------------------------------------------- - void ButtonContainerPanel::SetListGroupContainer(ListGroupList groupContainer ) + /*void ButtonContainerPanel::SetListGroupContainer(ListGroupList groupContainer ) { this->m_ListGroupList = groupContainer; - } + }*/ // ---------------------------------------------------------------------------------- void ButtonContainerPanel::PanelInit( int type ) @@ -108,7 +108,7 @@ namespace creaButtonContainer this->m_Sizer->Add( manager, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 ); } } - else + /*else { for(ListGroupList::iterator it1 = this->m_ListGroupList.begin(); it1 != this->m_ListGroupList.end(); ++it1) { @@ -116,7 +116,7 @@ namespace creaButtonContainer this->m_GroupManagerList[ manager->GetButtonID( ) ] = manager; this->m_Sizer->Add( manager, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 ); } - }//MLER + }//MLER*/ this->SetSizer( this->m_Sizer ); this->Layout( );