]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed bug 418766 (elapsed time not initialized in wxProgressDialog)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Jun 2001 17:07:10 +0000 (17:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Jun 2001 17:07:10 +0000 (17:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/progdlgg.cpp

index 2153f420dd5084720f2eaba92c35d231edca6a6b..da963d14fd80e91578ec4cdbd4f85092aece23ab 100644 (file)
@@ -166,6 +166,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
         nTimeLabels++;
 
         m_elapsed = CreateLabel(_("Elapsed time : "), &lastWindow);
+        SetTimeLabel(0, m_elapsed);
     }
 
     if ( style & wxPD_ESTIMATED_TIME )