Added wxHelpControllerHelpProvider, added DisplayContextPopup, DisplayTextPopup
to wxHelpControllerBase and wxCHMHelpController; updated sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,9 +47,19 @@ public:
|
||||
|
||||
// If file is "", reloads file given in Initialize
|
||||
virtual bool LoadFile(const wxString& file = "") = 0;
|
||||
|
||||
// Displays the contents
|
||||
virtual bool DisplayContents(void) = 0;
|
||||
|
||||
// Display the given section
|
||||
virtual bool DisplaySection(int sectionNo) = 0;
|
||||
|
||||
// Display the section using a context id
|
||||
virtual bool DisplayContextPopup(int WXUNUSED(contextId)) { return FALSE; };
|
||||
|
||||
// Display the text in a popup, if possible
|
||||
virtual bool DisplayTextPopup(const wxString& WXUNUSED(text), const wxPoint& WXUNUSED(pos)) { return FALSE; };
|
||||
|
||||
// By default, uses KeywordSection to display a topic. Implementations
|
||||
// may override this for more specific behaviour.
|
||||
virtual bool DisplaySection(const wxString& section) { return KeywordSearch(section); };
|
||||
|
Reference in New Issue
Block a user