-class wxExtHelpController : public wxHelpControllerBase
-{
-DECLARE_CLASS(wxExtHelpController)
- public:
- wxExtHelpController(void);
- virtual ~wxExtHelpController(void);
+class WXDLLIMPEXP_ADV wxExtHelpController : public wxHelpControllerBase
+{
+public:
+ wxExtHelpController(wxWindow* parentWindow = NULL);
+ virtual ~wxExtHelpController();
+
+ /** Tell it which browser to use.
+ The Netscape support will check whether Netscape is already
+ running (by looking at the .netscape/lock file in the user's
+ home directory) and tell it to load the page into the existing
+ window.
+ @param browsername The command to call a browser/html viewer.
+ @param isNetscape Set this to true if the browser is some variant of Netscape.
+ */
+ void SetBrowser(const wxString& browsername = wxEmptyString,
+ bool isNetscape = false);
+
+ // Set viewer: new name for SetBrowser
+ virtual void SetViewer(const wxString& viewer = wxEmptyString,
+ long flags = wxHELP_NETSCAPE);