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:
parent
76d3b94d9c
commit
89d0cfc9f4
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user