X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9453cf2bd702241fabc417e9dd5cd7422bcd9966..240889a18cb17f20884c6ce36e52a6dcf589bb08:/src/mac/slider.cpp diff --git a/src/mac/slider.cpp b/src/mac/slider.cpp index 53ad11814e..459a15c76b 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->GetMacRootWindow(), &bounds, title, false, value, minValue, maxValue, procID, (long) this); wxASSERT_MSG( m_macControl != NULL , "No valid mac control" ) ;