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:
parent
4a32fcf155
commit
c0bfefb6cf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user