X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb6261e9ba8b162347135a9174afbc81244b10cc..ff8b6290e9b7d0c604c35ca938d87cbd1fd157ed:/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); };