m_embeddedHtmlHelp.SetHelpWindow(m_embeddedHelpWindow);
m_embeddedHelpWindow->Create(this, wxID_ANY, wxDefaultPosition, GetClientSize(),
wxTAB_TRAVERSAL|wxBORDER_NONE, wxHF_DEFAULT_STYLE);
- m_embeddedHtmlHelp.AddBook(wxFileName(_T("doc.zip")));
+ m_embeddedHtmlHelp.AddBook(wxFileName(wxT("doc.zip")));
@endcode
You should pass the style wxHF_EMBEDDED to the style parameter of
int helpStyle = wxHF_DEFAULT_STYLE,
wxHtmlHelpData* data = NULL);
- /**
- You may override this virtual method to add more buttons to the help window's
- toolbar. @a toolBar is a pointer to the toolbar and @a style is the style
- flag as passed to the Create() method.
-
- wxToolBar::Realize is called immediately after returning from this function.
- See @c samples/html/helpview for an example.
- */
- virtual void AddToolbarButtons(wxToolBar* toolBar, int style);
-
/**
Creates the help window. See @ref wxHtmlHelpWindow() "the constructor"
for a description of the parameters.
*/
bool Create(wxWindow* parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
- const wxSize& pos = wxDefaultSize,
- int style = wxTAB_TRAVERSAL|wxBORDER_NONE,
- int helpStyle = wxHF_DEFAULT_STYLE,
- wxHtmlHelpData* data = NULL);
-
- /**
- Creates search panel.
- */
- void CreateSearch();
+ const wxSize& size = wxDefaultSize, int style = wxTAB_TRAVERSAL|wxBORDER_NONE,
+ int helpStyle = wxHF_DEFAULT_STYLE);
/**
Displays page x.
void ReadCustomization(wxConfigBase* cfg,
const wxString& path = wxEmptyString);
- /**
- Sets the frame's title format.
-
- @a format must contain exactly one "%s" (it will be replaced by the page title).
- */
- void SetTitleFormat(const wxString& format);
-
/**
Associates a wxConfig object with the help window. It is recommended that you
use wxHtmlHelpController::UseConfig instead.
void WriteCustomization(wxConfigBase* cfg,
const wxString& path = wxEmptyString);
+ /**
+ Refresh all panels. This is necessary if a new book was added.
+ */
+ void RefreshLists();
+
protected:
+ /**
+ Creates search panel.
+ */
+ void CreateSearch();
+
+ /**
+ You may override this virtual method to add more buttons to the help window's
+ toolbar. @a toolBar is a pointer to the toolbar and @a style is the style
+ flag as passed to the Create() method.
+
+ wxToolBar::Realize is called immediately after returning from this function.
+ See @c samples/html/helpview for an example.
+ */
+ virtual void AddToolbarButtons(wxToolBar* toolBar, int style);
+
/**
Creates contents panel. (May take some time.)
*/
Creates index panel. (May take some time.)
*/
void CreateIndex();
-
- /**
- Refresh all panels. This is necessary if a new book was added.
- */
- void RefreshLists();
};