Move reentrance guard down.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1166,9 +1166,6 @@ void wxEvtHandler::ProcessPendingEvents()
|
||||
|
||||
ProcessEvent(*event);
|
||||
|
||||
// eventhandling no longer in progess
|
||||
m_eventHandlingInProgress = false;
|
||||
|
||||
delete event;
|
||||
|
||||
wxENTER_CRIT_SECT( Lock() );
|
||||
@@ -1178,6 +1175,9 @@ void wxEvtHandler::ProcessPendingEvents()
|
||||
}
|
||||
|
||||
wxLEAVE_CRIT_SECT( Lock() );
|
||||
|
||||
// eventhandling no longer in progess
|
||||
m_eventHandlingInProgress = false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user