int width = bounds.right - bounds.left; int height = bounds.bottom - bounds.top; OS.SetRect(bounds, (short)TOOLTIP_MARGIN, (short)TOOLTIP_MARGIN, (short)(width-TOOLTIP_MARGIN), (short)(height-TOOLTIP_MARGIN));
	private void processPaintToolTip(int wHandle) {					Color infoForeground = getSystemColor (SWT.COLOR_INFO_FOREGROUND);		Color infoBackground = getSystemColor (SWT.COLOR_INFO_BACKGROUND);		MacUtil.RGBBackColor(infoBackground.handle);		MacUtil.RGBForeColor(infoForeground.handle);				Rect bounds= new Rect();		OS.GetWindowBounds(wHandle, (short)OS.kWindowContentRgn, bounds);				OS.SetRect(bounds, (short)0, (short)0, (short)(bounds.right - bounds.left), (short)(bounds.bottom - bounds.top));				OS.EraseRect(bounds);				if (fToolTipText != null) {			int sHandle= OS.CFStringCreateWithCharacters(fToolTipText);			int width = bounds.right - bounds.left;			int height = bounds.bottom - bounds.top;			OS.SetRect(bounds, (short)TOOLTIP_MARGIN, (short)TOOLTIP_MARGIN, (short)(width-TOOLTIP_MARGIN), (short)(height-TOOLTIP_MARGIN));			OS.DrawThemeTextBox(sHandle, fHoverThemeFont, OS.kThemeStateActive, true, bounds, (short)0, 0);			OS.CFRelease(sHandle);		}	}