git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5478
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxProgressDialog *progress = NULL;
wxString proginfo;
wxProgressDialog *progress = NULL;
wxString proginfo;
-wxLogDebug("building context");
m_ContentsBox->Clear();
int cnt = m_Data->GetContentsCnt();
m_ContentsBox->Clear();
int cnt = m_Data->GetContentsCnt();
if (show_progress)
delete progress;
m_ContentsBox -> Expand(roots[0]);
if (show_progress)
delete progress;
m_ContentsBox -> Expand(roots[0]);
if (path != wxEmptyString) {
oldpath = cfg -> GetPath();
if (path != wxEmptyString) {
oldpath = cfg -> GetPath();
+ cfg -> SetPath(_T("/") + path);
}
m_Cfg.navig_on = cfg -> Read("hcNavigPanel", m_Cfg.navig_on) != 0;
}
m_Cfg.navig_on = cfg -> Read("hcNavigPanel", m_Cfg.navig_on) != 0;
- m_HtmlWin->ReadCustomization(cfg, path);
+ m_HtmlWin->ReadCustomization(cfg);
if (path != wxEmptyString)
cfg -> SetPath(oldpath);
if (path != wxEmptyString)
cfg -> SetPath(oldpath);
if (path != wxEmptyString) {
oldpath = cfg -> GetPath();
if (path != wxEmptyString) {
oldpath = cfg -> GetPath();
+ cfg -> SetPath(_T("/") + path);
}
cfg -> Write("hcNavigPanel", m_Cfg.navig_on);
}
cfg -> Write("hcNavigPanel", m_Cfg.navig_on);
- m_HtmlWin->WriteCustomization(cfg, path);
+ m_HtmlWin->WriteCustomization(cfg);
if (path != wxEmptyString)
cfg -> SetPath(oldpath);
if (path != wxEmptyString)
cfg -> SetPath(oldpath);