From: Václav Slavík Date: Tue, 29 Jun 2004 07:16:51 +0000 (+0000) Subject: implemented nested index entries and index entries pointing to multiple documents... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/08300277756de38e7a82e575147a45765c3349e6 implemented nested index entries and index entries pointing to multiple documents in wxHtmlHelpController; modified wxHtmlHelpData API to make it possible git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index 6429c3147a..ca8415ab25 100644 --- a/include/wx/html/helpfrm.h +++ b/include/wx/html/helpfrm.h @@ -70,6 +70,8 @@ struct wxHtmlHelpFrameCfg bool navig_on; }; +class wxHtmlHelpMergedIndexItem; +class wxHtmlHelpMergedIndex; class WXDLLIMPEXP_CORE wxHelpControllerBase; @@ -155,6 +157,10 @@ protected: // Add books to search choice panel void CreateSearch(); + // Updates "merged index" structure that combines indexes of all books + // into better searchable structure + void UpdateMergedIndex(); + // Add custom buttons to toolbar virtual void AddToolbarButtons(wxToolBar *toolBar, int style); @@ -234,6 +240,10 @@ protected: int m_hfStyle; +private: + void DisplayIndexItem(const wxHtmlHelpMergedIndexItem *it); + wxHtmlHelpMergedIndex *m_mergedIndex; + DECLARE_EVENT_TABLE() DECLARE_NO_COPY_CLASS(wxHtmlHelpFrame) };