if ((parent.style & SWT.VIRTUAL) != 0) { if (OS.GTK_VERSION >= OS.VERSION (2, 3, 2) && OS.GTK_VERSION < OS.VERSION (2, 6, 3)) { redraw (); } }
public void setForeground (Color color){	checkWidget ();	if (color != null && color.isDisposed ()) {		SWT.error (SWT.ERROR_INVALID_ARGUMENT);	}	GdkColor gdkColor = color != null ? color.handle : null;	OS.gtk_tree_store_set (parent.modelHandle, handle, Tree.FOREGROUND_COLUMN, gdkColor, -1);	cached = true;}