// Simply pass the pointer on to the help window
m_Data = data;
m_HtmlHelpWin = NULL;
- m_helpController = (wxHtmlHelpController*) NULL;
+ m_helpController = NULL;
}
void wxHtmlHelpFrame::SetController(wxHtmlHelpController* controller)
m_HtmlHelpWin->SetController(m_helpController);
if ( config)
m_HtmlHelpWin->UseConfig(config, rootpath);
-
+
wxFrame::Create(parent, id, _("Help"),
wxPoint(m_HtmlHelpWin->GetCfgData().x, m_HtmlHelpWin->GetCfgData().y),
wxSize(m_HtmlHelpWin->GetCfgData().w, m_HtmlHelpWin->GetCfgData().h),
GetPosition(& (m_HtmlHelpWin->GetCfgData().x), & (m_HtmlHelpWin->GetCfgData()).y);
- SetIcon(wxArtProvider::GetIcon(wxART_HELP, wxART_HELP_BROWSER));
+ SetIcons(wxArtProvider::GetIconBundle(wxART_HELP, wxART_FRAME_ICON));
// On the Mac, each modeless frame must have a menubar.
// TODO: add more menu items, and perhaps add a style to show