From efb349e4f321856db92535f05d92ac7e24d49124 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Tue, 13 Jan 2004 17:46:13 +0000 Subject: [PATCH] Applied patch #876228: "Current value" always counts up to 100, instead of the max gauge value. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/gauge.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/widgets/gauge.cpp b/samples/widgets/gauge.cpp index c1a7f62d67..d887d13754 100644 --- a/samples/widgets/gauge.cpp +++ b/samples/widgets/gauge.cpp @@ -333,6 +333,7 @@ void GaugeWidgetsPage::OnButtonSetRange(wxCommandEvent& WXUNUSED(event)) if ( !m_textRange->GetValue().ToULong(&val) ) return; + m_range = val; m_gauge->SetRange(val); } -- 2.50.0