X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a92bedfeebad6b9f952b24fd42e7ca61f9ac6468..e319bb30f7e88242f56144fcc279b57047566a6b:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index df764235ac..c254930217 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -1011,9 +1011,6 @@ wxEvtHandler::wxEvtHandler() m_eventsLocker = new wxCriticalSection; # endif #endif - // reentrace not allowed by default - m_reentranceAllowed = false; - m_eventHandlingInProgress = false; // no client data (yet) m_clientData = NULL; @@ -1140,9 +1137,6 @@ void wxEvtHandler::ProcessPendingEvents() 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 @@ -1175,9 +1169,6 @@ void wxEvtHandler::ProcessPendingEvents() } wxLEAVE_CRIT_SECT( Lock() ); - - // eventhandling no longer in progess - m_eventHandlingInProgress = false; } /*