]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/htmlhelp.i
merged wxRegConf rename fix from 2.2
[wxWidgets.git] / wxPython / src / htmlhelp.i
index f3540613248c55051bd14a4fdb72edd461fe57b1..6f77dba09afd298bf74696312e2aaa599621a0a2 100644 (file)
@@ -14,7 +14,7 @@
 %module htmlhelp
 
 %{
-#include "helpers.h"
+#include "export.h"
 #include <wx/html/htmlwin.h>
 #include <wx/html/helpctrl.h>
 #include <wx/image.h>
 %extern controls2.i
 
 %extern utils.i
-
 %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
-
-};
 
 //---------------------------------------------------------------------------
 
@@ -131,7 +112,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 +144,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);