dragging = false;
display.grabControl = null; display.runDeferredEvents (); dragging = tracking = false;
int kEventMouseDown (int nextHandler, int theEvent, int userData) {	int status = super.kEventMouseDown (nextHandler, theEvent, userData);	if (status == OS.noErr) return status;	dragging = false;	status = OS.CallNextEventHandler (nextHandler, theEvent);	if (dragging) {		Event event = new Event ();		sendEvent (SWT.Selection, event);	}	dragging = false;	return status;}