X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a4721954c4542ab95f784662a903db55d790091..0826c4d39a53f8691b9430207420e9d9e175a73f:/src/cocoa/utils.mm diff --git a/src/cocoa/utils.mm b/src/cocoa/utils.mm index ea89c852cc..07deb46960 100644 --- a/src/cocoa/utils.mm +++ b/src/cocoa/utils.mm @@ -73,9 +73,9 @@ wxTimerImpl* wxGUIAppTraits::CreateTimerImpl(wxTimer* timer) return new wxCocoaTimerImpl(timer); } -wxEventLoop* wxGUIAppTraits::CreateEventLoop() +wxEventLoopBase* wxGUIAppTraits::CreateEventLoop() { - return new wxEventLoop; + return new wxGUIEventLoop; } wxWindow* wxFindWindowAtPoint(const wxPoint& pt) @@ -109,7 +109,7 @@ void wxBell() } // Private helper method for wxLaunchDefaultBrowser -bool wxCocoaLaunchDefaultBrowser(const wxString& url, int flags) +bool wxDoLaunchDefaultBrowser(const wxString& url, int flags) { // NOTE: We ignore the flags return [[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString:wxNSStringWithWxString(url)]] != NO;