// ----------------------------------------------------------------------------------
ButtonContainerController::~ButtonContainerController( )
{
- delete this->m_BCPanel;
}
// ----------------------------------------------------------------------------------
void
}//rof
}//rof
}//yrt
- catch ( std::exception& e )
+ catch ( const std::exception& e )
{
std::cerr << "ButtonContainerController::AddEvents( ) exception: "
<< e.what( ) << std::endl;
}//fi esle
this->m_BCPanel->FitSizer( );
}//yrt
- catch ( std::exception& e )
+ catch ( const std::exception& e )
{
std::cerr
<< "ButtonContainerController::ButtonExpEvent( wxCommandEvent& event ) exception: "
this->m_BCPanel->m_ButtonGroupList.begin( ); it
!= this->m_BCPanel->m_ButtonGroupList.end( ); ++it )
{
- ( *it )->GetButton( event.GetId( ) )->Execute( );
+ if ( ( *it )->GetButton( event.GetId( ) ) != NULL )
+ ( *it )->GetButton( event.GetId( ) )->Execute( );
}//rof
}//yrt
- catch ( std::exception& e )
+ catch ( const std::exception& e )
{
std::cerr
<< "ButtonContainerController::ButtonEvent( wxCommandEvent& event ) exception: "