fix some unused variables warnings reported by Borland

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-05-08 14:48:59 +00:00
parent 7f0cbaaa4a
commit e54266add7
4 changed files with 3 additions and 11 deletions

View File

@@ -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);