]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/utils.mm
Don't use default size of control has a sizer (as per other ports)
[wxWidgets.git] / src / cocoa / utils.mm
index ea89c852cc8e837444e8d51e0dd400240212975c..07deb4696065b9260d0acdeb0bb020c007dc9f81 100644 (file)
@@ -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;