X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b13f5fbf29003f4b44eb8aed4b208481e812ed2e..e564aa153eb1dc5ebd9f8c9f5f055c2a49c15b05:/src/generic/helpext.cpp diff --git a/src/generic/helpext.cpp b/src/generic/helpext.cpp index 66f9096240..9f165b3a50 100644 --- a/src/generic/helpext.cpp +++ b/src/generic/helpext.cpp @@ -46,6 +46,11 @@ IMPLEMENT_CLASS(wxExtHelpController, wxHTMLHelpControllerBase) +/// Name of environment variable to set help browser. +#define WXEXTHELP_ENVVAR_BROWSER "WX_HELPBROWSER" +/// Is browser a netscape browser? +#define WXEXTHELP_ENVVAR_BROWSERISNETSCAPE "WX_HELPBROWSER_NS" + /** This class implements help via an external browser. It requires the name of a directory containing the documentation @@ -140,7 +145,7 @@ wxExtHelpController::DisplayHelp(const wxString &relativeURL) // cannot use wxFileExists, because it's a link pointing to a // non-existing location if(wxFileExists(lockfile)) #endif - { + { long success; command << m_BrowserName << wxT(" -remote openURL(") << wxT("file://") << m_MapFile