X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92432aa11122b338d86fc4ac1aee5ea76c696d9a..48d2ab90ee02b7e2441f33fa8575bf51f56a364e:/src/mac/carbon/spinbutt.cpp diff --git a/src/mac/carbon/spinbutt.cpp b/src/mac/carbon/spinbutt.cpp index fd9d5d4e47..08151678ac 100644 --- a/src/mac/carbon/spinbutt.cpp +++ b/src/mac/carbon/spinbutt.cpp @@ -90,8 +90,8 @@ void wxSpinButton::SetRange(int minVal, int maxVal) { m_min = minVal; m_max = maxVal; - SetControlMaximum( (ControlHandle) m_macControl , maxVal ) ; - SetControlMinimum((ControlHandle) m_macControl , minVal ) ; + SetControl32BitMaximum( (ControlHandle) m_macControl , maxVal ) ; + SetControl32BitMinimum((ControlHandle) m_macControl , minVal ) ; } void wxSpinButton::MacHandleValueChanged( int inc ) @@ -134,7 +134,7 @@ void wxSpinButton::MacHandleValueChanged( int inc ) { m_value = oldValue ; } - SetControlValue( (ControlHandle) m_macControl , m_value ) ; + SetControl32BitValue( (ControlHandle) m_macControl , m_value ) ; /* always send a thumbtrack event */ if (scrollEvent != wxEVT_SCROLL_THUMBTRACK)