]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/utils.mm
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / cocoa / utils.mm
index f4acf49cb8b0072d6d0b3ee5f4957937b7571607..462b68de614d78c2312242fcaf208fd765a84919 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "wx/apptrait.h"
 #include "wx/display.h"
 
 #include "wx/apptrait.h"
 #include "wx/display.h"
+#include "wx/evtloop.h"
 #include "wx/cocoa/private/timer.h"
 
 #include <ctype.h>
 #include "wx/cocoa/private/timer.h"
 
 #include <ctype.h>
@@ -72,6 +73,11 @@ wxTimerImpl* wxGUIAppTraits::CreateTimerImpl(wxTimer* timer)
     return new wxCocoaTimerImpl(timer);
 }
 
     return new wxCocoaTimerImpl(timer);
 }
 
+wxEventLoopBase* wxGUIAppTraits::CreateEventLoop()
+{
+    return new wxGUIEventLoop;
+}
+
 wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
 {
     return wxGenericFindWindowAtPoint(pt);
 wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
 {
     return wxGenericFindWindowAtPoint(pt);