search progress bar has smooth gauge under win95 now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-01-16 22:55:25 +00:00
parent d0cf484622
commit 2686e01b0b

View File

@@ -476,7 +476,7 @@ bool wxHtmlHelpFrame::KeywordSearch(const wxString& keyword)
wxProgressDialog progress(_("Searching..."), _("No matching page found yet"),
status.GetMaxIndex(), this,
wxPD_APP_MODAL | wxPD_CAN_ABORT | wxPD_AUTO_HIDE);
wxPD_APP_MODAL | wxPD_CAN_ABORT | wxPD_AUTO_HIDE | wxGA_SMOOTH);
while (status.IsActive()) {
curi = status.GetCurIndex();
@@ -510,6 +510,7 @@ void wxHtmlHelpFrame::CreateContents(bool show_progress)
wxProgressDialog *progress = NULL;
wxString proginfo;
wxLogDebug("building context");
m_ContentsBox->Clear();
int cnt = m_Data->GetContentsCnt();
@@ -559,6 +560,7 @@ void wxHtmlHelpFrame::CreateContents(bool show_progress)
if (show_progress)
delete progress;
m_ContentsBox -> Expand(roots[0]);
wxLogDebug("...done");
}