X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5b9cde232a7cb63b43c9d0210c440959c1f344f..d6c9c1b71e069396bbe3850862de9aa10e6812e0:/include/wx/html/helpfrm.h diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index 053f1c90df..9bcf7574a4 100644 --- a/include/wx/html/helpfrm.h +++ b/include/wx/html/helpfrm.h @@ -43,7 +43,9 @@ #define wxHF_BOOKMARKS 0x0010 #define wxHF_OPENFILES 0x0020 #define wxHF_PRINT 0x0040 -#define wxHF_DEFAULTSTYLE (wxHF_TOOLBAR | wxHF_CONTENTS | wxHF_INDEX | wxHF_SEARCH | wxHF_BOOKMARKS | wxHF_PRINT) +#define wxHF_FLATTOOLBAR 0x0080 +#define wxHF_DEFAULTSTYLE (wxHF_TOOLBAR | wxHF_CONTENTS | wxHF_INDEX | \ + wxHF_SEARCH | wxHF_BOOKMARKS | wxHF_PRINT) // Command IDs : @@ -88,6 +90,7 @@ typedef struct wxHtmlHelpFrameCfg; +class WXDLLEXPORT wxHelpControllerBase; class WXDLLEXPORT wxHtmlHelpFrame : public wxFrame { @@ -103,6 +106,8 @@ class WXDLLEXPORT wxHtmlHelpFrame : public wxFrame ~wxHtmlHelpFrame(); wxHtmlHelpData* GetData() { return m_Data; } + wxHelpControllerBase* GetController() const { return m_helpController; } + void SetController(wxHelpControllerBase* controller) { m_helpController = controller; } void SetTitleFormat(const wxString& format); // Sets format of title of the frame. Must contain exactly one "%s" @@ -201,7 +206,6 @@ class WXDLLEXPORT wxHtmlHelpFrame : public wxFrame wxSplitterWindow *m_Splitter; wxNotebook *m_NavigPan; wxTreeCtrl *m_ContentsBox; - wxImageList *m_ContentsImageList; wxTextCtrl *m_IndexText; wxButton *m_IndexButton; wxButton *m_IndexButtonAll; @@ -238,6 +242,7 @@ class WXDLLEXPORT wxHtmlHelpFrame : public wxFrame wxHtmlEasyPrinting *m_Printer; #endif wxHashTable *m_PagesHash; + wxHelpControllerBase* m_helpController; DECLARE_EVENT_TABLE() };