merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,7 +81,7 @@ void wxExtHelpController::SetViewer(const wxString& viewer, long flags)
|
||||
}
|
||||
|
||||
bool
|
||||
wxExtHelpController::DisplayHelp(wxString const &relativeURL)
|
||||
wxExtHelpController::DisplayHelp(const wxString &relativeURL)
|
||||
{
|
||||
wxBusyCursor b; // display a busy cursor
|
||||
|
||||
@@ -89,7 +89,7 @@ wxExtHelpController::DisplayHelp(wxString const &relativeURL)
|
||||
#if defined(__WXMSW__)
|
||||
wxString url;
|
||||
url << m_MapFile << '\\' << relativeURL.BeforeFirst('#');
|
||||
bool bOk = (int)ShellExecute(NULL, "open", url,
|
||||
bool bOk = (int)ShellExecute(NULL, wxT("open"), url.c_str(),
|
||||
NULL, NULL, SW_SHOWNORMAL ) > 32;
|
||||
if ( !bOk )
|
||||
{
|
||||
|
Reference in New Issue
Block a user