X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b62f00d8e3ec5437ab780cb3d73d299cc61e20c..77436c4cbac2269e564dc4fcf4494a58feca0af4:/wxPython/src/htmlhelp.i diff --git a/wxPython/src/htmlhelp.i b/wxPython/src/htmlhelp.i index 1947f066ab..1143363f15 100644 --- a/wxPython/src/htmlhelp.i +++ b/wxPython/src/htmlhelp.i @@ -4,7 +4,7 @@ // // Author: Robin Dunn // -// Created: 25-nov-1998 +// Created: 25-Nov-1998 // RCS-ID: $Id$ // Copyright: (c) 1998 by Total Control Software // Licence: wxWindows license @@ -40,38 +40,6 @@ %extern html.i -//--------------------------------------------------------------------------- - -enum { - wxID_HTML_PANEL, - wxID_HTML_BACK, - wxID_HTML_FORWARD, - wxID_HTML_TREECTRL, - wxID_HTML_INDEXPAGE, - wxID_HTML_INDEXLIST, - wxID_HTML_NOTEBOOK, - wxID_HTML_SEARCHPAGE, - wxID_HTML_SEARCHTEXT, - wxID_HTML_SEARCHLIST, - wxID_HTML_SEARCHBUTTON, - wxID_HTML_SEARCHCHOICE, - wxID_HTML_HELPFRAME - -}; - -//--------------------------------------------------------------------------- - -class wxHtmlHelpFrameCfg -{ -public: - wxHtmlHelpFrameCfg(); - - long x, y, w, h; - long sashpos; - bool navig_on; -}; - - //--------------------------------------------------------------------------- class wxHtmlBookRecord { @@ -131,7 +99,7 @@ public: wxString FindPageByName(const wxString& page); wxString FindPageById(int id); - // **** this one needs fixed... + // TODO: this one needs fixed... const wxHtmlBookRecArray& GetBookRecArray(); wxHtmlContentsItem* GetContents(); @@ -163,9 +131,23 @@ public: //--------------------------------------------------------------------------- + +enum { + wxHF_TOOLBAR, + wxHF_FLATTOOLBAR, + wxHF_CONTENTS, + wxHF_INDEX, + wxHF_SEARCH, + wxHF_BOOKMARKS, + wxHF_OPENFILES, + wxHF_PRINT, + wxHF_DEFAULTSTYLE, +}; + + class wxHtmlHelpController : public wxEvtHandler { public: - wxHtmlHelpController(); + wxHtmlHelpController(int style = wxHF_DEFAULTSTYLE); ~wxHtmlHelpController(); void SetTitleFormat(const wxString& format);