No changes, just use wxEventLoop::IsYielding() accessor.

Use IsYielding() instead of testing m_isInsideYield directly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-09-10 16:50:59 +00:00
parent e63b4ccca0
commit 42def6f4ee

View File

@@ -216,7 +216,7 @@ int wxCFEventLoop::DoProcessEvents()
}
else
#endif
return DispatchTimeout( m_isInsideYield ? 0 : 1000 );
return DispatchTimeout( IsYielding() ? 0 : 1000 );
}
bool wxCFEventLoop::Dispatch()