if (cm != null && OS.IsShowContextualMenuClick(me.getData())) {
if (cm != null && me.isShowContextualMenuClick()) {
	private boolean handleContentClick(MacEvent me, int whichWindow) {			MacPoint where= me.getWhere();		MacPoint globalPos= me.getWhere();				/*		hideToolTip ();				if (whichWindow != OS.FrontNonFloatingWindow()) {			System.out.println("  front click");			//OS.SelectWindow(whichWindow);			return true;		}		*/				int savedPort= OS.GetPort();		OS.SetPortWindowPort(whichWindow);		OS.GlobalToLocal(where.getData());		OS.SetPort(savedPort);				short[] cpart= new short[1];		//int whichControl= OS.FindControlUnderMouse(where.getData(), whichWindow, cpart);		int whichControl= MacUtil.findControlUnderMouse(where, whichWindow, cpart);								Widget w= findWidget(whichControl);		//System.out.println("  front click: " + w);				// activate control		/* AW already done in Control.processMouseDown		Widget w1= findWidget(whichControl);		Widget w2= findWidget(whichWindow);		if (w1 instanceof Control && w2 instanceof Shell) {			Shell shell= (Shell) w2;			shell.setActiveControl((Control) w1);		}		*/				// focus change		setMacFocusHandle(whichWindow, whichControl);										if (whichControl != 0) {					// process the context menu			Widget wc= WidgetTable.get(whichControl);			if (wc instanceof Control) {				Menu cm= ((Control)wc).getMenu();	// is a context menu installed?				if (cm != null && OS.IsShowContextualMenuClick(me.getData())) {					handleContextClick(cm, globalPos, me);					return false;				}			}					switch (cpart[0]) {			case 0:				break;			case 111:	// User pane				fTrackedControl= whichControl;	// starts mouse tracking				windowProc(whichControl, SWT.MouseDown, me);				break;			case 112:	// User pane				windowProc(whichControl, SWT.MouseDown, me);				break;							default:				windowProc(whichControl, SWT.MouseDown, me);				int cpart2= OS.HandleControlClick(whichControl, where.getData(), me.getModifiers(), -1);				if (cpart2 != 0) {					windowProc(whichControl, SWT.Selection, new MacControlEvent(whichControl, cpart2, false));					repairPending();				}				break;			}		}		return false;	}