OS.EmbedControl(children[i], destHandle);
MacUtil.OSEmbedControl(children[i], destHandle);
void setZOrder (Control control, boolean above) {		//System.out.println("Control.setZOrder(" + parent + "): move " + this + (above?" above ":" below ") + control);		if (control != null && control.parent != parent)		return;		int thisHandle= topHandle();	if (parent == null)		error (SWT.ERROR_INVALID_PARENT);	int destHandle= parent.handle;	int otherHandle= 0;	if (control != null)		otherHandle= control.topHandle();			int pos= 0;	short[] cnt= new short[1];	OS.CountSubControls(destHandle, cnt);	int count= cnt[0];	int children[]= new int[count];	int[] outHandle= new int[1];	int to= 0;	for (int i= 0; i < count; i++) {		if (OS.GetIndexedSubControl(destHandle, (short)(i+1), outHandle) == 0) {			int h= outHandle[0];			if (h == otherHandle)				pos= to;			if (h != thisHandle)				children[to++]= h;		} else			error (SWT.ERROR_CANNOT_GET_ITEM);	}		if (control == null) {		if (above) pos= to;	} else {		if (above) pos++;	}	for (int z= children.length-1; z > pos; z--)		children[z]= children[z-1];	children[pos]= thisHandle;			for (int i= 0; i < children.length; i++)		OS.EmbedControl(children[i], destHandle);}