From: Vadim Zeitlin Date: Mon, 30 Oct 2006 00:44:44 +0000 (+0000) Subject: undid removal of implicit http: from wxLaunchDefaultBrowser() done in last revision... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/89d0cfc9f4f26221e64cdc7a59569d11676d24fc undid removal of implicit http: from wxLaunchDefaultBrowser() done in last revision as it's not supposed to work with local files by default (which should have file:// scheme (obviously)) but with URLs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 5ee6713dbf..6a37b6ec9b 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -729,10 +729,8 @@ bool wxLaunchDefaultBrowser(const wxString& urlOrig, int flags) // set the scheme of url to http if it does not have one // RR: This doesn't work if the url is just a local path wxString url(urlOrig); -#if 0 if ( !wxURI(url).HasScheme() ) url.Prepend(wxT("http://")); -#endif #if defined(__WXMSW__)