X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdaf613add176525ed8b6cafaf278dfd80f85074..0a33446c8e71292bfdb960ed7e26e1f196938cf0:/src/mac/statbox.cpp?ds=sidebyside

diff --git a/src/mac/statbox.cpp b/src/mac/statbox.cpp
index c50c7d8a28..1a562c12e6 100644
--- a/src/mac/statbox.cpp
+++ b/src/mac/statbox.cpp
@@ -13,6 +13,8 @@
 #pragma implementation "statbox.h"
 #endif
 
+#include "wx/defs.h"
+
 #include "wx/statbox.h"
 #include "wx/mac/uma.h"
 
@@ -41,7 +43,7 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id,
 	
 	MacPreControlCreate( parent , id ,  label , 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, 
 	  	kControlGroupBoxTextTitleProc , (long) this ) ;
 	
 	MacPostControlCreate() ;