ButtonContainerSettings::ButtonGroupSettings*
ButtonContainerSettings::GetButtonGroupSettings( TFunctor* functor )
{
+ ButtonGroupSettings* settings = NULL;
try
{
- ButtonGroupSettings* settings = new ButtonGroupSettings( );
+ settings = new ButtonGroupSettings( );
for( KeyMapList::iterator it = this->m_GroupNameList.begin( ); it
!= this->m_GroupNameList.end( ); ++it )
{
( *it1 )->first->second, ( *it1 )->second->first, functor );
}//rof
}//rof
- return ( settings );
}//yrt
catch ( std::exception& e )
{
<< "ButtonContainerSettings::GetPanelButton( const StringType &buttonName ) "
<< "exception: " << e.what( ) << std::endl;
}//hctac
+ return ( settings );
}
// ----------------------------------------------------------------------------------
void