]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/groupManager.cxx
#2502 creaMaracasVisu Feature New Normal - alternation between containers: button...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / groupManager.cxx
index 4ff4ec435e135375c2f40be08a9f0f698524dae3..1cec6714d28672bef858f22a6f67155840cf733f 100644 (file)
@@ -41,6 +41,7 @@ namespace creaButtonContainer
                        wxFlexGridSizer( 1, 0, 0, 0 )
                {
 //EED 20/01/2012  flag 02                      
+                       std::cout << " MLER groupManager.cxx / GroupManager(ButtonGroup* buttonGroup) " << std::endl;
                        this->m_IDExpButton = wxNewId( );
                        this->m_ExpansionButton = new ExpansionButton( parent, this->m_IDExpButton, _("-"), wxDefaultPosition, wxSize( 20, 20 ), 0, wxDefaultValidator, _T("EXPBUTTON") );
                        this->Add( m_ExpansionButton, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 );
@@ -48,6 +49,17 @@ namespace creaButtonContainer
                        this->Add( this->m_ButtonManager, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 );
                }
                
+               GroupManager::GroupManager(wxWindow* parent, ListGroup* buttonGroup ):
+                               wxFlexGridSizer( 1, 0, 0, 0 )
+               {
+                       std::cout << " MLER groupManager.cxx / GroupManager(ListGroup* buttonGroup) " << std::endl;
+                       this->m_IDExpButton = wxNewId( );
+                       this->m_ExpansionButton = new ExpansionButton( parent, this->m_IDExpButton, _("-"), wxDefaultPosition, wxSize( 20, 20 ), 0, wxDefaultValidator, _T("EXPBUTTON") );
+                       this->Add( m_ExpansionButton, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 );
+                       this->m_ButtonManager = new ButtonManager( buttonGroup );
+                       this->Add( this->m_ButtonManager, 1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 );
+               }//MLER
+
                // ----------------------------------------------------------------------------------
                GroupManager::~GroupManager( )
                {