]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpext.cpp
refresh the tree ctrl when its back/foreground colour changes
[wxWidgets.git] / src / generic / helpext.cpp
index 838d373f0480cabd58b81a770524dc4f68f8895b..8f6276fb25bacd9161cb009281a2d9b07d3c1df7 100644 (file)
@@ -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 )
    {