]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/evtloop.cpp
fix for IsAlive() called after Kill() or Exit()
[wxWidgets.git] / src / msw / evtloop.cpp
index bf33c7d9e8ebff3f47b40cce309c0fae1499bd74..86ad5ac4b8a04e186031a07072129ef323afbd85 100644 (file)
@@ -137,9 +137,7 @@ bool wxEventLoopImpl::PreProcessMessage(MSG *msg)
 
 bool wxEventLoopImpl::SendIdleMessage()
 {
-    wxIdleEvent event;
-
-    return wxTheApp->ProcessEvent(event) && event.MoreRequested();
+    return wxTheApp->ProcessIdle();
 }
 
 // ============================================================================