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:
@@ -333,6 +333,7 @@ void GaugeWidgetsPage::OnButtonSetRange(wxCommandEvent& WXUNUSED(event))
|
|||||||
if ( !m_textRange->GetValue().ToULong(&val) )
|
if ( !m_textRange->GetValue().ToULong(&val) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
m_range = val;
|
||||||
m_gauge->SetRange(val);
|
m_gauge->SetRange(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user