Esempio n. 1
0
void RheiaLoggerManager::OnCloseFrame(RheiaFrameEvent& event)
{
	if( m_parent )
		m_parent->RemoveEventHandler( this );
	
	RheiaLoggerMap::iterator it = m_loggers.begin();

    for( ; it != m_loggers.end() ; ++it )
        delete it->second;
	
	m_loggers.clear();
	
    if( m_nullloger != NULL )
        delete m_nullloger;
		
	m_parent = NULL;
		
	m_nullloger = NULL;
	event.Skip();
}
Esempio n. 2
0
void RheiaEnvironementManager::OnCloseFrame(RheiaFrameEvent& event)
{
    ReleaseMenu( event.GetFrame() , event.GetFrame()->GetMenuBar() );
    event.Skip();
}
Esempio n. 3
0
void RheiaFramePluginManager::OnCloseParent( RheiaFrameEvent& event )
{
	m_parent->RemoveEventHandler(this);
	UnloadAllPlugins();
    event.Skip();
}