enter wxPendingEventLocker critical section in ProcessPendingEvents() (fixes 1720352)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-05-21 14:05:46 +00:00
parent 4a32fcf155
commit c0bfefb6cf

View File

@ -347,6 +347,8 @@ void wxAppConsole::ProcessPendingEvents()
if ( !HasPendingEvents() )
return;
wxENTER_CRIT_SECT( *wxPendingEventsLocker );
// iterate until the list becomes empty
wxList::compatibility_iterator node = wxPendingEvents->GetFirst();
while (node)