wxURI variable removed by previous commit is used on MSW, so add it back in for that port.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2007-08-20 01:41:09 +00:00
parent 79176a4aa1
commit 1e73a96f7a

View File

@@ -1,4 +1,3 @@
/////////////////////////////////////////////////////////////////////////////
// Name: src/common/utilscmn.cpp
// Purpose: Miscellaneous utility functions and classes
// Author: Julian Smart
@@ -749,6 +748,7 @@ static bool wxLaunchDefaultBrowserBaseImpl(const wxString& url, int flags)
{
// ShellExecuteEx() opens the URL in an existing window by default so
// we can't use it if we need a new window
wxURI uri(url);
wxRegKey key(wxRegKey::HKCR, uri.GetScheme() + _T("\\shell\\open"));
if ( !key.Exists() )
{