wxProgressDialog *progress = NULL;
wxString proginfo;
-wxLogDebug("building context");
m_ContentsBox->Clear();
int cnt = m_Data->GetContentsCnt();
if (show_progress)
delete progress;
m_ContentsBox -> Expand(roots[0]);
-wxLogDebug("...done");
}
if (path != wxEmptyString) {
oldpath = cfg -> GetPath();
- cfg -> SetPath(path);
+ cfg -> SetPath(_T("/") + path);
}
m_Cfg.navig_on = cfg -> Read("hcNavigPanel", m_Cfg.navig_on) != 0;
}
if (m_HtmlWin)
- m_HtmlWin->ReadCustomization(cfg, path);
+ m_HtmlWin->ReadCustomization(cfg);
if (path != wxEmptyString)
cfg -> SetPath(oldpath);
if (path != wxEmptyString) {
oldpath = cfg -> GetPath();
- cfg -> SetPath(path);
+ cfg -> SetPath(_T("/") + path);
}
cfg -> Write("hcNavigPanel", m_Cfg.navig_on);
}
if (m_HtmlWin)
- m_HtmlWin->WriteCustomization(cfg, path);
+ m_HtmlWin->WriteCustomization(cfg);
if (path != wxEmptyString)
cfg -> SetPath(oldpath);