]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/evtloop.cpp
Morec ompilation fixes.
[wxWidgets.git] / src / os2 / evtloop.cpp
index 919d51e4cf98351f994ccd35a4245ab2e7a4245c..e177f38ee0f693997709d692dbea11ebb3680e18 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     01.06.01
 // RCS-ID:      $Id$
 // Copyright:   (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// License:     wxWindows license
+// License:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -140,7 +140,11 @@ bool wxEventLoopImpl::SendIdleMessage()
 {
     wxIdleEvent event;
 
-    return wxTheApp->ProcessEvent(event) && event.MoreRequested();
+    bool processed = wxTheApp->ProcessEvent(event) ;
+
+    wxUpdateUIEvent::ResetUpdateTime();    
+    
+    return processed && event.MoreRequested();
 }
 
 // ============================================================================