wxPython html module updates. The beginings of tag handler support.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-09-13 19:34:01 +00:00
parent 5b626e7f84
commit 0f66a9f39d
10 changed files with 5433 additions and 510 deletions

View File

@@ -10,14 +10,14 @@
#ifndef __HELPSYS_H__
#define __HELPSYS_H__
#include <wx/defs.h>
#include <wx/wx.h>
#if ! wxUSE_HTML
#error "wxHtml needed"
#endif
#include <wx/toolbar.h>
#include "wx/listbox.h"
#include <wx/listbox.h>
#include <wx/html/htmlhelp.h>
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