32 bit range for wxSlider (#1166390).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -527,7 +527,8 @@ void wxSlider::SetRange(int minValue, int maxValue)
|
||||
m_rangeMin = minValue;
|
||||
m_rangeMax = maxValue;
|
||||
|
||||
::SendMessage(GetHwnd(), TBM_SETRANGE, TRUE, MAKELONG(minValue, maxValue));
|
||||
::SendMessage(GetHwnd(), TBM_SETRANGEMIN, TRUE, m_rangeMin);
|
||||
::SendMessage(GetHwnd(), TBM_SETRANGEMAX, TRUE, m_rangeMax);
|
||||
|
||||
if ( m_labels )
|
||||
{
|
||||
|
Reference in New Issue
Block a user