]> git.saurik.com Git - wxWidgets.git/commitdiff
Add obvious implementation of wxGUIAppTraits::CreateEventLoop.
authorDavid Elliott <dfe@tgwbd.org>
Fri, 18 May 2007 21:58:19 +0000 (21:58 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 18 May 2007 21:58:19 +0000 (21:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/utils.mm

index f4acf49cb8b0072d6d0b3ee5f4957937b7571607..ea89c852cc8e837444e8d51e0dd400240212975c 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "wx/apptrait.h"
 #include "wx/display.h"
+#include "wx/evtloop.h"
 #include "wx/cocoa/private/timer.h"
 
 #include <ctype.h>
@@ -72,6 +73,11 @@ wxTimerImpl* wxGUIAppTraits::CreateTimerImpl(wxTimer* timer)
     return new wxCocoaTimerImpl(timer);
 }
 
+wxEventLoop* wxGUIAppTraits::CreateEventLoop()
+{
+       return new wxEventLoop;
+}
+
 wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
 {
     return wxGenericFindWindowAtPoint(pt);