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:
@@ -347,6 +347,8 @@ void wxAppConsole::ProcessPendingEvents()
|
|||||||
if ( !HasPendingEvents() )
|
if ( !HasPendingEvents() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
wxENTER_CRIT_SECT( *wxPendingEventsLocker );
|
||||||
|
|
||||||
// iterate until the list becomes empty
|
// iterate until the list becomes empty
|
||||||
wxList::compatibility_iterator node = wxPendingEvents->GetFirst();
|
wxList::compatibility_iterator node = wxPendingEvents->GetFirst();
|
||||||
while (node)
|
while (node)
|
||||||
|
Reference in New Issue
Block a user