From 606403fd33686523cfd9808905b92b9f2eb7b95d Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 3 Feb 2014 20:32:18 +0000 Subject: [PATCH] =?UTF-8?q?backport=20merging=20in=20V=C3=A1clav's=20fix?= =?UTF-8?q?=20for=20getting=20CPU=20usage=20down=20in=20ShowModal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/core/evtloop_cf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/core/evtloop_cf.cpp b/src/osx/core/evtloop_cf.cpp index 37b22b5909..7e70dec8b1 100644 --- a/src/osx/core/evtloop_cf.cpp +++ b/src/osx/core/evtloop_cf.cpp @@ -243,7 +243,7 @@ int wxCFEventLoop::DoProcessEvents() } else #endif - return DispatchTimeout( 0 ); + return DispatchTimeout( m_isInsideYield ? 0 : 1000 ); } bool wxCFEventLoop::Dispatch()