From: Robin Dunn Date: Mon, 14 Jun 2004 18:50:19 +0000 (+0000) Subject: fixed compile error X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2706d2fedee4cfc34ba0c838bd157bc0d9718ce1 fixed compile error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 0633b59e44..e6cfc0231c 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -317,7 +317,7 @@ wxProgressDialog::Update(int value, const wxString& newmsg) // is going to close and the gauge shouldn't be partly empty in this case if ( m_gauge && value <= m_maximum ) { - m_gauge->SetValue(value == maximum ? value : value + 1); + m_gauge->SetValue(value == m_maximum ? value : value + 1); } if ( !newmsg.IsEmpty() )