Added wxHelpControllerHtml, derived from wxHtmlHelpControllerBase. API like

wxExtHelpController and fully backwards compatible with the "old" help
controller. Docs follow tomorrow. Modified sample to use it if wxHTML is
compiled in.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1999-07-18 18:09:46 +00:00
parent bfcc7d7fd0
commit 29ea4a2908
8 changed files with 303 additions and 17 deletions

View File

@@ -118,6 +118,22 @@ DECLARE_ABSTRACT_CLASS(wxHTMLHelpControllerBase)
/// Call the browser using a relative URL.
virtual bool DisplayHelp(wxString const &) = 0;
/// Allows one to override the default settings for the help frame.
virtual void SetFrameParameters(const wxString &title,
const wxSize &size,
const wxPoint &pos = wxDefaultPosition,
bool newFrameEachTime = FALSE)
{
// does nothing by default
}
/// Obtains the latest settings used by the help frame.
virtual void GetFrameParameters(wxSize *size = NULL,
wxPoint *pos = NULL,
bool *newFrameEachTime = NULL)
{
// does nothing by default
}
protected:
/// Filename of currently active map file.
wxString m_MapFile;