void ExecutorThread::ProcessEvent( SysExecEvent& evt ) { if( m_EvtHandler ) m_EvtHandler->ProcessEvent( evt ); else evt._DoInvokeEvent(); }
void pxEvtHandler::ProcessEvent( SysExecEvent& evt ) { if( wxThread::GetCurrentId() != m_OwnerThreadId ) { SynchronousActionState sync; evt.SetSyncState( sync ); PostEvent( evt ); sync.WaitForResult(); } else evt._DoInvokeEvent(); }