From 638bc56cf906321b2e15b67dc7ea4513895135ed Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 9 Jun 2001 17:07:10 +0000 Subject: [PATCH] fixed bug 418766 (elapsed time not initialized in wxProgressDialog) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/progdlgg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 2153f420dd..da963d14fd 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -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 ) -- 2.45.2