+ if ( UMAHasAquaLayout() )
+ {
+ m_macHorizontalBorder = kMacOSXHorizontalBorder;
+ m_macVerticalBorder = kMacOSXVerticalBorder;
+ }
+
+ MacPreControlCreate( parent , id , label , pos , size ,style, validator , name , &bounds , title ) ;
+
+ m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1,
+ kControlPushButtonProc , (long) this ) ;
+ wxASSERT_MSG( (ControlHandle) m_macControl != NULL , "No valid mac control" ) ;
+
+ MacPostControlCreate() ;
+