From 2686e01b0b0d6d5b59df7c1c979f7a047aab985d Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 16 Jan 2000 22:55:25 +0000 Subject: [PATCH] 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 --- src/html/helpfrm.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index bd9cb08056..af0abc5dcd 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -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"); } -- 2.45.2