From c200f9a3b7003a6ef27f079672b7d165b04a59b7 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 9 Dec 2009 08:21:28 +0000 Subject: [PATCH] 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 --- src/osx/iphone/evtloop.mm | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.45.2