X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/695f550bfaa08c237dec723bdd1eddf0eacbc741..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/src/generic/progdlgg.cpp diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 6f4fec1fe8..25a42355ae 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -182,9 +182,6 @@ wxProgressDialog::wxProgressDialog(const wxString& title, m_break = 0; m_ctdelay = 0; - // if we are going to have at least one label, remember it in this var - wxStaticText *label = NULL; - // also count how many labels we really have size_t nTimeLabels = 0; @@ -194,7 +191,6 @@ wxProgressDialog::wxProgressDialog(const wxString& title, { nTimeLabels++; - label = m_elapsed = CreateLabel(_("Elapsed time:"), sizerLabels); } @@ -202,7 +198,6 @@ wxProgressDialog::wxProgressDialog(const wxString& title, { nTimeLabels++; - label = m_estimated = CreateLabel(_("Estimated time:"), sizerLabels); } @@ -210,7 +205,6 @@ wxProgressDialog::wxProgressDialog(const wxString& title, { nTimeLabels++; - label = m_remaining = CreateLabel(_("Remaining time:"), sizerLabels); } sizerTop->Add(sizerLabels, 0, wxALIGN_CENTER_HORIZONTAL | wxTOP, LAYOUT_MARGIN);