OS.GetEventParameter (theEvent, OS.kEventParamClickCount, OS.typeUInt32, null, 4, null, clickCount);
int kEventMouseDown (int nextHandler, int theEvent, int userData) {	int result = super.kEventMouseDown (nextHandler, theEvent, userData);	if (result == OS.noErr) return result;	Shell shell = getShell ();	shell.bringToTop (true);	/*	* Feature in the Macintosh.  For some reason, when the user	* clicks on the data browser, focus is assigned, then lost	* and then reassigned causing kEvenControlSetFocusPart events.	* The fix is to ignore kEvenControlSetFocusPart when the user	* clicks and send the focus events from kEventMouseDown.	*/	Control oldFocus = display.getFocusControl ();	display.ignoreFocus = true;	wasSelected = false;	result = OS.CallNextEventHandler (nextHandler, theEvent);	display.ignoreFocus = false;	if (oldFocus != this) {		if (oldFocus != null && !oldFocus.isDisposed ()) oldFocus.sendFocusEvent (SWT.FocusOut);		if (!isDisposed () && isEnabled ()) sendFocusEvent (SWT.FocusIn);	}	if (!wasSelected) {		if (OS.IsDataBrowserItemSelected (handle, lastHittest)) {			int index = lastHittest - 1;			if (0 <= index && index < itemCount) {				Event event = new Event ();				event.item = _getItem (index);				postEvent (SWT.Selection, event);			}		}	}	return result;}