]> git.saurik.com Git - wxWidgets.git/commitdiff
support for getting current event loop on iPhone
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 9 Dec 2009 08:21:28 +0000 (08:21 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 9 Dec 2009 08:21:28 +0000 (08:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/iphone/evtloop.mm

index bfb94292b1bb940f4260957890c8a15a5770178c..0b1831b970a29529b15367f56ba32db894954505 100644 (file)
@@ -87,6 +87,11 @@ void wxGUIEventLoop::WakeUp()
     wxMacWakeUp();
 }
 
+CFRunLoopRef wxGUIEventLoop::CFGetCurrentRunLoop() const
+{
+    return CFRunLoopGetCurrent();
+}
+
 bool wxGUIEventLoop::Pending() const
 {
     wxMacAutoreleasePool autoreleasepool;