X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d497dca47560bb375902c2a261d819e7470a92b3..99890e74a7528a1db041262b4ea3c2c9e1f062cf:/src/mac/notebmac.cpp?ds=sidebyside diff --git a/src/mac/notebmac.cpp b/src/mac/notebmac.cpp index 17b89bde2e..52f69eb69f 100644 --- a/src/mac/notebmac.cpp +++ b/src/mac/notebmac.cpp @@ -115,7 +115,7 @@ bool wxNotebook::Create(wxWindow *parent, MacPreControlCreate( parent , id , "" , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ; - m_macControl = UMANewControl( parent->GetMacRootWindow() , &bounds , title , false , 0 , 0 , 1, + m_macControl = ::NewControl( parent->MacGetRootWindow() , &bounds , title , false , 0 , 0 , 1, kControlTabSmallProc , (long) this ) ; MacPostControlCreate() ; @@ -299,7 +299,7 @@ void wxNotebook::MacSetupTabs() } Rect bounds; GetControlBounds(m_macControl, &bounds); - InvalWindowRect(GetMacRootWindow(), &bounds); + InvalWindowRect(MacGetRootWindow(), &bounds); } // ----------------------------------------------------------------------------