]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/evtloopcmn.cpp
remove old hacks for gtk blit problem which was probably fixed long ago
[wxWidgets.git] / src / common / evtloopcmn.cpp
index 482324cd4e0ac64d8788db88a9560c6095ec2da8..f0ae34416a6c85f80087c7945406bee27cda72e6 100644 (file)
@@ -119,7 +119,7 @@ void wxEventLoopBase::ProcessPendingEvents()
     {
         // In ProcessPendingEvents(), new handlers might be added
         // and we can safely leave the critical section here.
-        wxENTER_CRIT_SECT(m_handlersWithPendingEventsLocker);
+        wxLEAVE_CRIT_SECT(m_handlersWithPendingEventsLocker);
 
         // NOTE: we always call ProcessPendingEvents() on the first event handler
         //       with pending events because handlers auto-remove themselves
@@ -127,7 +127,7 @@ void wxEventLoopBase::ProcessPendingEvents()
         //       more pending events.
         m_handlersWithPendingEvents[0]->ProcessPendingEvents();
 
-        wxLEAVE_CRIT_SECT(m_handlersWithPendingEventsLocker);
+        wxENTER_CRIT_SECT(m_handlersWithPendingEventsLocker);
     }
 
     // now the wxHandlersWithPendingEvents is surely empty; however some event