m_eventsLocker = new wxCriticalSection;
# endif
#endif
- // reentrace not allowed by default
- m_reentranceAllowed = false;
- m_eventHandlingInProgress = false;
// no client data (yet)
m_clientData = NULL;
wxCHECK_RET( m_pendingEvents,
wxT("Please call wxApp::ProcessPendingEvents() instead") );
- // eventhandling is now in progess
- m_eventHandlingInProgress = true;
-
wxENTER_CRIT_SECT( Lock() );
// we leave the loop once we have processed all events that were present at
ProcessEvent(*event);
- // eventhandling no longer in progess
- m_eventHandlingInProgress = false;
-
delete event;
wxENTER_CRIT_SECT( Lock() );