class WXDLLIMPEXP_HTML wxBestHelpController: public wxHelpControllerBase
{
public:
- wxBestHelpController(wxWindow* parentWindow = NULL)
- : wxHelpControllerBase( parentWindow ), m_helpControllerType( wxUseNone ),
- m_helpController( NULL )
+ wxBestHelpController(wxWindow* parentWindow = NULL,
+ int style = wxHF_DEFAULT_STYLE)
+ : wxHelpControllerBase(parentWindow),
+ m_helpControllerType(wxUseNone),
+ m_helpController(NULL),
+ m_style(style)
{
}
HelpControllerType m_helpControllerType;
wxHelpControllerBase* m_helpController;
+ int m_style;
DECLARE_DYNAMIC_CLASS(wxBestHelpController)
DECLARE_NO_COPY_CLASS(wxBestHelpController)
delete chm;
// try wxHtmlHelpController
- wxHtmlHelpController* html = new wxHtmlHelpController(wxHF_DEFAULT_STYLE, m_parentWindow);
+ wxHtmlHelpController *
+ html = new wxHtmlHelpController(m_style, m_parentWindow);
m_helpControllerType = wxUseHtmlHelp;
if( html->Initialize( GetValidFilename( filename ) ) )