ButtonManager::ButtonManager( ) :
wxFlexGridSizer( 0, 1, 0, 0 )
{
ButtonManager::ButtonManager( ) :
wxFlexGridSizer( 0, 1, 0, 0 )
{
this->SetGroupName( buttonGroup->GetGroupName( ) );
this->SetButtonManager( buttonGroup->GetButtonContainer( ) );
}//yrt
this->SetGroupName( buttonGroup->GetGroupName( ) );
this->SetButtonManager( buttonGroup->GetButtonContainer( ) );
}//yrt
// ----------------------------------------------------------------------------------
void ButtonManager::SetGroupName( wxStaticText* groupName )
{
// ----------------------------------------------------------------------------------
void ButtonManager::SetGroupName( wxStaticText* groupName )
{
this->m_GroupName = groupName;
this->Add( this->m_GroupName, -1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 );
}
this->m_GroupName = groupName;
this->Add( this->m_GroupName, -1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 );
}
// ----------------------------------------------------------------------------------
void ButtonManager::SetButtonManager( ButtonContainer buttonContainer )
{
// ----------------------------------------------------------------------------------
void ButtonManager::SetButtonManager( ButtonContainer buttonContainer )
{
this->Show( this->m_GridSizer, true, false );
}
// ----------------------------------------------------------------------------------
void
ButtonManager::HideButtonManager( )
{
this->Show( this->m_GridSizer, true, false );
}
// ----------------------------------------------------------------------------------
void
ButtonManager::HideButtonManager( )
{
this->Show( this->m_GridSizer, false, false );
}
// ----------------------------------------------------------------------------------
this->Show( this->m_GridSizer, false, false );
}
// ----------------------------------------------------------------------------------