X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/327788acc5e4915df4e9e97db7fb08a4c4a00cdd..bf60426831535738b1b784629f08e9dd00bf9ecc:/src/mac/slider.cpp diff --git a/src/mac/slider.cpp b/src/mac/slider.cpp index 8dcae35279..c60b1a5d81 100644 --- a/src/mac/slider.cpp +++ b/src/mac/slider.cpp @@ -127,7 +127,7 @@ wxSlider::~wxSlider() int wxSlider::GetValue() const { - return GetControlValue( (ControlHandle) m_macControl) ; + return GetControl32BitValue( (ControlHandle) m_macControl) ; } void wxSlider::SetValue(int value) @@ -136,7 +136,7 @@ void wxSlider::SetValue(int value) valuestring.Printf( "%d" , value ) ; if ( m_macValueStatic ) m_macValueStatic->SetLabel( valuestring ) ; - SetControlValue( (ControlHandle) m_macControl , value ) ; + SetControl32BitValue( (ControlHandle) m_macControl , value ) ; } void wxSlider::SetRange(int minValue, int maxValue) @@ -146,8 +146,8 @@ void wxSlider::SetRange(int minValue, int maxValue) m_rangeMin = minValue; m_rangeMax = maxValue; - SetControlMinimum( (ControlHandle) m_macControl, m_rangeMin); - SetControlMaximum( (ControlHandle) m_macControl, m_rangeMax); + SetControl32BitMinimum( (ControlHandle) m_macControl, m_rangeMin); + SetControl32BitMaximum( (ControlHandle) m_macControl, m_rangeMax); if(m_macMinimumStatic) { value.Printf("%d", m_rangeMin); @@ -241,7 +241,7 @@ void wxSlider::Command (wxCommandEvent & event) void wxSlider::MacHandleControlClick( WXWidget control , wxInt16 controlpart ) { - SInt16 value = ::GetControlValue( (ControlHandle) m_macControl ) ; + SInt16 value = ::GetControl32BitValue( (ControlHandle) m_macControl ) ; SetValue( value ) ; @@ -418,7 +418,7 @@ void wxSlider::MacHandleControlClick( WXWidget control , wxInt16 controlpart ) } } - void wxSlider::DoMoveWindow(int x, int y, int width, int height) - { +void wxSlider::DoMoveWindow(int x, int y, int width, int height) +{ wxControl::DoMoveWindow(x,y,width,height) ; -} \ No newline at end of file +}