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(); }
void RheiaEnvironementManager::OnCloseFrame(RheiaFrameEvent& event) { ReleaseMenu( event.GetFrame() , event.GetFrame()->GetMenuBar() ); event.Skip(); }
void RheiaFramePluginManager::OnCloseParent( RheiaFrameEvent& event ) { m_parent->RemoveEventHandler(this); UnloadAllPlugins(); event.Skip(); }