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
This commit is contained in:
Dimitri Schoolwerth
2004-01-13 17:46:13 +00:00
parent d563e57f21
commit efb349e4f3

View File

@@ -333,6 +333,7 @@ void GaugeWidgetsPage::OnButtonSetRange(wxCommandEvent& WXUNUSED(event))
if ( !m_textRange->GetValue().ToULong(&val) )
return;
m_range = val;
m_gauge->SetRange(val);
}