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:
@@ -1,4 +1,3 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Name: src/common/utilscmn.cpp
|
// Name: src/common/utilscmn.cpp
|
||||||
// Purpose: Miscellaneous utility functions and classes
|
// Purpose: Miscellaneous utility functions and classes
|
||||||
// Author: Julian Smart
|
// 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
|
// ShellExecuteEx() opens the URL in an existing window by default so
|
||||||
// we can't use it if we need a new window
|
// we can't use it if we need a new window
|
||||||
|
wxURI uri(url);
|
||||||
wxRegKey key(wxRegKey::HKCR, uri.GetScheme() + _T("\\shell\\open"));
|
wxRegKey key(wxRegKey::HKCR, uri.GetScheme() + _T("\\shell\\open"));
|
||||||
if ( !key.Exists() )
|
if ( !key.Exists() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user