/////////////////////////////////////////////////////////////////////////////
-// Name: src/cocoa/utils.cpp
+// Name: src/cocoa/utils.mm
// Purpose: Various utilities
// Author: David Elliott
// Created: 2003/??/??
return new wxCocoaTimerImpl(timer);
}
-wxEventLoop* wxGUIAppTraits::CreateEventLoop()
+wxEventLoopBase* wxGUIAppTraits::CreateEventLoop()
{
- return new wxEventLoop;
+ return new wxGUIEventLoop;
}
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
}
// 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;