X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ca24bf4e00e33ef8a0726a567ec3fed0edcb75c..b854b7b82e033d1dbd9d300402df50ec5e1e8b74:/utils/wxPython/modules/html/helpsys.h?ds=sidebyside diff --git a/utils/wxPython/modules/html/helpsys.h b/utils/wxPython/modules/html/helpsys.h index e35ffadf9d..e3eb9f645d 100644 --- a/utils/wxPython/modules/html/helpsys.h +++ b/utils/wxPython/modules/html/helpsys.h @@ -10,14 +10,14 @@ #ifndef __HELPSYS_H__ #define __HELPSYS_H__ -#include +#include #if ! wxUSE_HTML #error "wxHtml needed" #endif #include -#include "wx/listbox.h" +#include #include class wxHtmlHelpSystem : public wxHtmlHelpController @@ -27,9 +27,9 @@ class wxHtmlHelpSystem : public wxHtmlHelpController public: wxHtmlHelpSystem() {}; ~wxHtmlHelpSystem() {}; - - bool AddBookParam(const wxString& title, const wxString& contfile, - const wxString& indexfile=wxEmptyString, const wxString& deftopic=wxEmptyString, + + bool AddBookParam(const wxString& title, const wxString& contfile, + const wxString& indexfile=wxEmptyString, const wxString& deftopic=wxEmptyString, const wxString& path=wxEmptyString, bool show_wait_msg=FALSE); // Alternative to AddBook(wxString& hhpfile) wxToolBar* CreateToolBar(wxFrame* frame); @@ -41,7 +41,7 @@ class wxHtmlHelpSystem : public wxHtmlHelpController virtual void CreateHelpWindow(); // Slightly different version than in wxHtmlHelpController; uses helpers above // Do nothing if the window already exists - void SetControls(wxFrame* frame, wxHtmlWindow* htmlwin, + void SetControls(wxFrame* frame, wxHtmlWindow* htmlwin, wxTreeCtrl* contents=NULL, wxListBox* index=NULL, wxListBox* searchlist=NULL); // alternative for CreateHelpWindow(), sets frame, htmlwindow, contents tree, index @@ -73,3 +73,4 @@ class wxHtmlHelpSystem : public wxHtmlHelpController }; #endif +