void wxHtmlHelpController::SetFrameParameters(const wxString& title, const wxSize& size, const wxPoint& pos, bool WXUNUSED(newFrameEachTime)) { SetTitleFormat(title); if (m_helpFrame) { m_helpFrame->SetSize(pos.x, pos.y, size.x, size.y); } }
void wxHtmlHelpController::SetFrameParameters(const wxString& title, const wxSize& size, const wxPoint& pos, bool WXUNUSED(newFrameEachTime)) { SetTitleFormat(title); wxHtmlHelpFrame* frame = wxDynamicCast(FindTopLevelWindow(), wxHtmlHelpFrame); wxHtmlHelpDialog* dialog = wxDynamicCast(FindTopLevelWindow(), wxHtmlHelpDialog); if (frame) frame->SetSize(pos.x, pos.y, size.x, size.y); else if (dialog) dialog->SetSize(pos.x, pos.y, size.x, size.y); }
szHelpController::szHelpController(int style) : wxHtmlHelpControllerEx(style) { m_begin_id = NULL; SetTitleFormat(wxString(_("SZARP Help")) + _T(": %s")); }