fixed restoration of iconized wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -878,10 +878,15 @@ void wxHtmlHelpFrame::WriteCustomization(wxConfigBase *cfg, const wxString& path
|
||||
|
||||
cfg->Write(wxT("hcNavigPanel"), m_Cfg.navig_on);
|
||||
cfg->Write(wxT("hcSashPos"), (long)m_Cfg.sashpos);
|
||||
cfg->Write(wxT("hcX"), (long)m_Cfg.x);
|
||||
cfg->Write(wxT("hcY"), (long)m_Cfg.y);
|
||||
cfg->Write(wxT("hcW"), (long)m_Cfg.w);
|
||||
cfg->Write(wxT("hcH"), (long)m_Cfg.h);
|
||||
if ( !IsIconized() )
|
||||
{
|
||||
// Don't write if iconized as this would make the window
|
||||
// disappear next time it is shown!
|
||||
cfg->Write(wxT("hcX"), (long)m_Cfg.x);
|
||||
cfg->Write(wxT("hcY"), (long)m_Cfg.y);
|
||||
cfg->Write(wxT("hcW"), (long)m_Cfg.w);
|
||||
cfg->Write(wxT("hcH"), (long)m_Cfg.h);
|
||||
}
|
||||
cfg->Write(wxT("hcFixedFace"), m_FixedFace);
|
||||
cfg->Write(wxT("hcNormalFace"), m_NormalFace);
|
||||
cfg->Write(wxT("hcBaseFontSize"), (long)m_FontSize);
|
||||
|
Reference in New Issue
Block a user