]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/utils.mm
Don't pass NULL to wxDir, rather hop over when trying to find dir with translation
[wxWidgets.git] / src / cocoa / utils.mm
index 462b68de614d78c2312242fcaf208fd765a84919..07deb4696065b9260d0acdeb0bb020c007dc9f81 100644 (file)
@@ -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;