Removed two more GUI lock-ups. This time when

using on-GUI threads and sending event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-12-30 12:02:57 +00:00
parent 1a8557b143
commit ce6d2511f8
5 changed files with 109 additions and 24 deletions

View File

@@ -63,7 +63,7 @@ void wxAppBase::ProcessPendingEvents()
delete node;
// In ProcessPendingEvents(), new handlers might be add
// and we can safely leave the critical section here.
// and we can safely leave the critical section here.
wxLEAVE_CRIT_SECT( *wxPendingEventsLocker );
handler->ProcessPendingEvents();
wxENTER_CRIT_SECT( *wxPendingEventsLocker );