]> git.saurik.com Git - wxWidgets.git/commitdiff
search progress bar has smooth gauge under win95 now
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 16 Jan 2000 22:55:25 +0000 (22:55 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 16 Jan 2000 22:55:25 +0000 (22:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpfrm.cpp

index bd9cb08056d1e90e23214faf1284f9a2e6723bdd..af0abc5dcdec3ebc9691f16cf73310b931303e7d 100644 (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");
 }