Fixed c_string typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -89,7 +89,7 @@ wxExtHelpController::DisplayHelp(wxString const &relativeURL)
|
|||||||
#if defined(__WXMSW__)
|
#if defined(__WXMSW__)
|
||||||
wxString url;
|
wxString url;
|
||||||
url << m_MapFile << '\\' << relativeURL.BeforeFirst('#');
|
url << m_MapFile << '\\' << relativeURL.BeforeFirst('#');
|
||||||
bool bOk = (int)ShellExecute(NULL, wxT("open"), url.c_string(),
|
bool bOk = (int)ShellExecute(NULL, wxT("open"), url.c_str(),
|
||||||
NULL, NULL, SW_SHOWNORMAL ) > 32;
|
NULL, NULL, SW_SHOWNORMAL ) > 32;
|
||||||
if ( !bOk )
|
if ( !bOk )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user