Removed unused variable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-07-22 18:35:51 +00:00
parent e9019d1ce3
commit b591b7cf2b

View File

@@ -130,8 +130,6 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
sizeLabel = m_msg->GetSize(); sizeLabel = m_msg->GetSize();
sizeDlg.y = 2*LAYOUT_MARGIN + sizeLabel.y; sizeDlg.y = 2*LAYOUT_MARGIN + sizeLabel.y;
wxWindow *lastWindow = m_msg;
if ( maximum > 0 ) if ( maximum > 0 )
{ {
// note that we can't use wxGA_SMOOTH because it happens to // note that we can't use wxGA_SMOOTH because it happens to
@@ -143,7 +141,6 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
sizer->Add(m_gauge, 0, wxLEFT | wxRIGHT | wxTOP | wxEXPAND, 2*LAYOUT_MARGIN); sizer->Add(m_gauge, 0, wxLEFT | wxRIGHT | wxTOP | wxEXPAND, 2*LAYOUT_MARGIN);
m_gauge->SetValue(0); m_gauge->SetValue(0);
lastWindow = m_gauge;
wxSize sizeGauge = m_gauge->GetSize(); wxSize sizeGauge = m_gauge->GetSize();
sizeDlg.y += 2*LAYOUT_MARGIN + sizeGauge.y; sizeDlg.y += 2*LAYOUT_MARGIN + sizeGauge.y;