X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..d8af5b3aadd90a5348855b8bb66f979413380ca2:/include/wx/msw/helpchm.h?ds=inline diff --git a/include/wx/msw/helpchm.h b/include/wx/msw/helpchm.h index 4a9fd55a85..859290f94c 100644 --- a/include/wx/msw/helpchm.h +++ b/include/wx/msw/helpchm.h @@ -19,8 +19,7 @@ class WXDLLEXPORT wxCHMHelpController : public wxHelpControllerBase { public: - wxCHMHelpController() { } - virtual ~wxCHMHelpController(); + wxCHMHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) { } // 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;