From: Stefan Csomor Date: Wed, 9 Dec 2009 08:21:28 +0000 (+0000) Subject: support for getting current event loop on iPhone X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c200f9a3b7003a6ef27f079672b7d165b04a59b7 support for getting current event loop on iPhone git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/iphone/evtloop.mm b/src/osx/iphone/evtloop.mm index bfb94292b1..0b1831b970 100644 --- a/src/osx/iphone/evtloop.mm +++ b/src/osx/iphone/evtloop.mm @@ -87,6 +87,11 @@ void wxGUIEventLoop::WakeUp() wxMacWakeUp(); } +CFRunLoopRef wxGUIEventLoop::CFGetCurrentRunLoop() const +{ + return CFRunLoopGetCurrent(); +} + bool wxGUIEventLoop::Pending() const { wxMacAutoreleasePool autoreleasepool;