]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/groupManager.cxx
#2509 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel with...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / groupManager.cxx
index 4ff4ec435e135375c2f40be08a9f0f698524dae3..eac787a8939a090c663b23bd275036dd9078c580 100644 (file)
@@ -41,6 +41,7 @@ namespace creaButtonContainer
                        wxFlexGridSizer( 1, 0, 0, 0 )
                {
 //EED 20/01/2012  flag 02                      
+                       std::cout<< "MLER | GroupManager::GroupManager( )" << 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( )
                {
@@ -57,6 +69,7 @@ namespace creaButtonContainer
                long
                GroupManager::GetButtonID( )
                {
+                       std::cout<< "MLER | GroupManager::GetButtonID( )" << std::endl;
                        return ( this->m_IDExpButton );
                }
                
@@ -64,6 +77,7 @@ namespace creaButtonContainer
                GroupManager::ExpansionButton*
                GroupManager::GetButton( )
                {
+                       std::cout<< "MLER | GroupManager::GetButton( )" << std::endl;
                        return ( this->m_ExpansionButton );
                }
                
@@ -99,6 +113,7 @@ namespace creaButtonContainer
                void
                GroupManager::HideSubPanel( bool hide )
                {
+                       std::cout<< "MLER | GroupManager::HideSubPanel( bool hide )" << std::endl;
                        if ( hide == true )
                        {
                                this->m_ButtonManager->HideButtonManager( );