Pass the config object into the wxHtmlHelpFrame so it has the config
info in time to set the position and size of the frame. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -155,8 +155,8 @@ wxHtmlHelpFrame* wxHtmlHelpController::CreateHelpFrame(wxHtmlHelpData *data)
|
||||
{
|
||||
wxHtmlHelpFrame* frame = new wxHtmlHelpFrame(data);
|
||||
frame->SetController(this);
|
||||
frame->Create(m_parentWindow, -1, wxEmptyString, m_FrameStyle, m_Config, m_ConfigRoot);
|
||||
frame->SetTitleFormat(m_titleFormat);
|
||||
frame->Create(m_parentWindow, -1, wxEmptyString, m_FrameStyle);
|
||||
m_helpFrame = frame;
|
||||
return frame;
|
||||
}
|
||||
|
Reference in New Issue
Block a user