Revert reentrancy patch (#1573619)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-05 21:22:10 +00:00
parent 56560c387f
commit a5bbc20278
3 changed files with 0 additions and 34 deletions

View File

@@ -280,15 +280,6 @@ void wxAppConsole::ProcessPendingEvents()
// iterate until the list becomes empty
wxList::compatibility_iterator node = wxPendingEvents->GetFirst();
while (node &&
((wxEvtHandler *)node->GetData())->IsEventHandlingInProgress() &&
((wxEvtHandler *)node->GetData())->IsReentranceAllowed() == false)
{
// skip over event
node = node->GetNext();
}
while (node)
{
wxEvtHandler *handler = (wxEvtHandler *)node->GetData();
@@ -303,14 +294,6 @@ void wxAppConsole::ProcessPendingEvents()
wxENTER_CRIT_SECT( *wxPendingEventsLocker );
node = wxPendingEvents->GetFirst();
while (node &&
((wxEvtHandler *)node->GetData())->IsEventHandlingInProgress() &&
((wxEvtHandler *)node->GetData())->IsReentranceAllowed() == false)
{
// skip over event
node = node->GetNext();
}
}
wxLEAVE_CRIT_SECT( *wxPendingEventsLocker );