X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3db5226517a63bcdc983e638f1a312764fe1312f..af57c51ab758ad9810ea5bbb3703341cd5f367b1:/include/wx/msw/helpchm.h diff --git a/include/wx/msw/helpchm.h b/include/wx/msw/helpchm.h index 72afc643dc..859290f94c 100644 --- a/include/wx/msw/helpchm.h +++ b/include/wx/msw/helpchm.h @@ -20,7 +20,6 @@ class WXDLLEXPORT wxCHMHelpController : public wxHelpControllerBase { public: wxCHMHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) { } - virtual ~wxCHMHelpController(); // Must call this to set the filename virtual bool Initialize(const wxString& file); @@ -40,6 +39,11 @@ public: wxString GetHelpFile() const { return m_helpFile; } + // helper of DisplayTextPopup(), also used in wxSimpleHelpProvider::ShowHelp + static bool ShowContextHelpPopup(const wxString& text, + const wxPoint& pos, + wxWindow *window); + protected: // Append extension if necessary. wxString GetValidFilename(const wxString& file) const;