]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appbase.cpp
Fixed compile error on Wine due to type mismatch
[wxWidgets.git] / src / common / appbase.cpp
index 697aa2dd87964aa0ba8ab533bce10eae39d1727d..6f2bbbe5a4e409dea5c5dafbfb9a4728b1b6d0d9 100644 (file)
@@ -280,15 +280,6 @@ void wxAppConsole::ProcessPendingEvents()
 
     // iterate until the list becomes empty
     wxList::compatibility_iterator node = wxPendingEvents->GetFirst();
-    
-    while (node && 
-           ((wxEvtHandler *)node->GetData())->IsEventHandlingInProgress() &&
-           ((wxEvtHandler *)node->GetData())->IsReentranceAllowed() == false)
-    {   
-        // skip over event
-        node = node->GetNext();
-    }
-    
     while (node)
     {
         wxEvtHandler *handler = (wxEvtHandler *)node->GetData();
@@ -303,14 +294,6 @@ void wxAppConsole::ProcessPendingEvents()
         wxENTER_CRIT_SECT( *wxPendingEventsLocker );
 
         node = wxPendingEvents->GetFirst();
-        
-        while (node && 
-               ((wxEvtHandler *)node->GetData())->IsEventHandlingInProgress() &&
-               ((wxEvtHandler *)node->GetData())->IsReentranceAllowed() == false)
-        {   
-            // skip over event
-            node = node->GetNext();
-        }
     }
 
     wxLEAVE_CRIT_SECT( *wxPendingEventsLocker );