Some updates; simple wxHTML/external HTML controllers now have DisplaySection(const wxString&).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -74,7 +74,7 @@ DECLARE_CLASS(wxExtHelpController)
|
||||
/// Is the viewer a variant of netscape?
|
||||
bool m_BrowserIsNetscape;
|
||||
/// Call the browser using a relative URL.
|
||||
virtual bool DisplayHelp(wxString const &);
|
||||
virtual bool DisplayHelp(const wxString&);
|
||||
};
|
||||
|
||||
#endif // wxUSE_HELP
|
||||
|
@@ -103,6 +103,10 @@ DECLARE_ABSTRACT_CLASS(wxHTMLHelpControllerBase)
|
||||
/** Display help for id sectionNo -- identical with DisplaySection().
|
||||
@return true on success
|
||||
*/
|
||||
virtual bool DisplaySection(const wxString& section);
|
||||
/** Display help for URL (using DisplayHelp) or keyword (using KeywordSearch)
|
||||
@return true on success
|
||||
*/
|
||||
virtual bool DisplayBlock(long blockNo);
|
||||
/** Search comment/documentation fields in map file and present a
|
||||
list to chose from.
|
||||
@@ -117,7 +121,7 @@ DECLARE_ABSTRACT_CLASS(wxHTMLHelpControllerBase)
|
||||
virtual void OnQuit(void);
|
||||
|
||||
/// Call the browser using a relative URL.
|
||||
virtual bool DisplayHelp(wxString const &) = 0;
|
||||
virtual bool DisplayHelp(const wxString &) = 0;
|
||||
|
||||
/// Allows one to override the default settings for the help frame.
|
||||
virtual void SetFrameParameters(const wxString& WXUNUSED(title),
|
||||
|
@@ -58,7 +58,7 @@ DECLARE_CLASS(wxHelpControllerHtml)
|
||||
|
||||
private:
|
||||
/// Call the browser using a relative URL.
|
||||
virtual bool DisplayHelp(wxString const &);
|
||||
virtual bool DisplayHelp(const wxString &);
|
||||
protected:
|
||||
friend class wxHelpFrame;
|
||||
class wxHelpFrame *m_Frame;
|
||||
|
Reference in New Issue
Block a user