]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.cxx
#2507 creaMaracasVisu Feature New Normal - creaPanelButtonContainerListPanel
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / buttonContainerPanel.cxx
index bdd564998b6cc042961643972084819c7d13d842..fb273461149a021192d3b7a739a1fc53efd5e25b 100644 (file)
@@ -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( );