width = height = 0; int count = OS.CountMenuItems (handle); for (int i=0; i<count; i++) { MenuItem item = items [i]; item.x = item.y = item.width = item.height = 0; }
int kEventMenuClosed (int nextHandler, int theEvent, int userData) {	int result = super.kEventMenuClosed (nextHandler, theEvent, userData);	if (result == OS.noErr) return result;	closed = true;	sendEvent (SWT.Hide);	if (hooks (SWT.Hide)) {		getShell().update (true);	}	return OS.eventNotHandledErr;}