]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/evtloop.mm
Get the OS X Cocoa native combobox building by having the native code compile if...
[wxWidgets.git] / src / osx / cocoa / evtloop.mm
index 1101ee217e564edf5fdea217bf540ceebc3f2cd4..4798214f02d40d2e565fe441f8cc81d893ae7f3f 100644 (file)
@@ -87,6 +87,16 @@ void wxGUIEventLoop::WakeUp()
     wxMacWakeUp();
 }
 
+CFRunLoopRef wxGUIEventLoop::CFGetCurrentRunLoop() const
+{
+    NSRunLoop* nsloop = [NSRunLoop currentRunLoop];
+    return [nsloop getCFRunLoop];
+}
+
+//-----------------------------------------------------------------------------
+// events dispatch and loop handling
+//-----------------------------------------------------------------------------
+
 bool wxGUIEventLoop::Pending() const
 {
     wxMacAutoreleasePool autoreleasepool;