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
This commit is contained in:
Vadim Zeitlin 2006-10-30 00:44:44 +00:00
parent 76d3b94d9c
commit 89d0cfc9f4

View File

@ -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__)