X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f092804a2406ada66094d09bfc935d63e221d46..ba723d98a83bb51137ae926000d1da1cc583cc9a:/src/mac/spinbutt.cpp?ds=inline diff --git a/src/mac/spinbutt.cpp b/src/mac/spinbutt.cpp index b396d675d0..87db4b041a 100644 --- a/src/mac/spinbutt.cpp +++ b/src/mac/spinbutt.cpp @@ -49,7 +49,7 @@ bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, c MacPreControlCreate( parent , id , "" , pos , size ,style,*( (wxValidator*) NULL ) , name , &bounds , title ) ; - m_macControl = ::NewControl( parent->GetMacRootWindow() , &bounds , title , false , 0 , 0 , 100, + m_macControl = ::NewControl( parent->MacGetRootWindow() , &bounds , title , false , 0 , 0 , 100, kControlLittleArrowsProc , (long) this ) ; wxASSERT_MSG( m_macControl != NULL , "No valid mac control" ) ;