]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed compile error
authorRobin Dunn <robin@alldunn.com>
Mon, 14 Jun 2004 18:50:19 +0000 (18:50 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 14 Jun 2004 18:50:19 +0000 (18:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/progdlgg.cpp

index 0633b59e44364603a62d2757f3b58bd1c9b91227..e6cfc0231c7204e21d2a2283c27867d8de238ab7 100644 (file)
@@ -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() )