#pragma hdrstop
#endif
+#if wxUSE_HELP
+
#ifndef WX_PRECOMP
#include "wx/setup.h"
#include "wx/string.h"
#endif
IMPLEMENT_CLASS(wxExtHelpController, wxHTMLHelpControllerBase)
-
+
/**
This class implements help via an external browser.
It requires the name of a directory containing the documentation
long success;
command << m_BrowserName << _T(" -remote openURL(")
<< _T("file://") << m_MapFile
- << WXEXTHELP_SEPARATOR << relativeURL << _T(")");
+ << WXEXTHELP_SEPARATOR << relativeURL << _T(")");
success = wxExecute(command);
if(success != 0 ) // returns PID on success
return TRUE;
}
command = m_BrowserName;
command << _T(" file://")
- << m_MapFile << WXEXTHELP_SEPARATOR << relativeURL;
- return wxExecute(command) != 0;
+ << m_MapFile << WXEXTHELP_SEPARATOR << relativeURL;
+ return wxExecute(command) != 0;
#endif
}
+#endif // wxUSE_HELP