X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fa150e233fa449ee270ac26ecf074f5c40acb1e..9fe25f1329437699d8dcb76e34440c5ada23711d:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index abca39a4b7..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 @@ -1166,9 +1160,6 @@ void wxEvtHandler::ProcessPendingEvents() ProcessEvent(*event); - // eventhandling no longer in progess - m_eventHandlingInProgress = false; - delete event; wxENTER_CRIT_SECT( Lock() );