From ae65b148b8aa3d30e3c4af7742c5d7475b7d70ce Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 25 Mar 2000 14:46:40 +0000 Subject: [PATCH] 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 --- src/generic/helpext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/helpext.cpp b/src/generic/helpext.cpp index af52595fc5..6502d32c97 100644 --- a/src/generic/helpext.cpp +++ b/src/generic/helpext.cpp @@ -89,7 +89,7 @@ wxExtHelpController::DisplayHelp(wxString const &relativeURL) #if defined(__WXMSW__) wxString url; 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; if ( !bOk ) {