X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9453cf2bd702241fabc417e9dd5cd7422bcd9966..4b796bb03c1410ebda4b010130fb022a8729a68f:/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" ) ;