X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5b9cde232a7cb63b43c9d0210c440959c1f344f..85d03040fc18f7e403720c77ce758e1f12e14292:/include/wx/html/helpfrm.h diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index 053f1c90df..7ce4bc2a7f 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" @@ -238,6 +243,7 @@ class WXDLLEXPORT wxHtmlHelpFrame : public wxFrame wxHtmlEasyPrinting *m_Printer; #endif wxHashTable *m_PagesHash; + wxHelpControllerBase* m_helpController; DECLARE_EVENT_TABLE() };