X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..32b8ec418aee4e38877d4cb79e2984c766dcc358:/include/wx/helpbase.h diff --git a/include/wx/helpbase.h b/include/wx/helpbase.h index c35b3b0cb1..17443e79ac 100644 --- a/include/wx/helpbase.h +++ b/include/wx/helpbase.h @@ -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); };