From: Włodzimierz Skiba <abx@abx.art.pl> Date: Mon, 21 Mar 2005 17:25:55 +0000 (+0000) Subject: 32 bit range for wxSlider (#1166390). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b552060aaf4988f25772af34be2967cc3f005e53 32 bit range for wxSlider (#1166390). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/slider95.cpp b/src/msw/slider95.cpp index 260aee5565..fdb2ad5840 100644 --- a/src/msw/slider95.cpp +++ b/src/msw/slider95.cpp @@ -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 ) {