]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/progdlgg.cpp
added missing return on error
[wxWidgets.git] / 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 )