X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9453cf2bd702241fabc417e9dd5cd7422bcd9966..481fcc780da6b3ddbee3bd9f1eca5aafeef0a58b:/src/mac/slider.cpp diff --git a/src/mac/slider.cpp b/src/mac/slider.cpp index 53ad11814e..2f8854acc2 100644 --- a/src/mac/slider.cpp +++ b/src/mac/slider.cpp @@ -84,7 +84,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id, } - m_macControl = UMANewControl( parent->GetMacRootWindow(), &bounds, title, false, + m_macControl = ::NewControl( parent->MacGetRootWindow(), &bounds, title, false, value, minValue, maxValue, procID, (long) this); wxASSERT_MSG( m_macControl != NULL , "No valid mac control" ) ; @@ -408,7 +408,7 @@ void wxSlider::MacHandleControlClick( ControlHandle control , SInt16 controlpart // Update window at old and new positions SetRect(&newbounds, m_x, m_y, m_x + m_width, m_y + m_height); - WindowRef rootwindow = GetMacRootWindow(); + WindowRef rootwindow = MacGetRootWindow(); InvalWindowRect( rootwindow , &oldbounds ); InvalWindowRect( rootwindow , &newbounds );