if (cIcon != 0) { destroyCIcon(cIcon); cIcon = 0; }
public void setImage (Image image) {	checkWidget ();	int index = parent.indexOf (this);	if (index == -1) return;	super.setImage (image);	if (cIcon != 0) {		destroyCIcon(cIcon);		cIcon = 0;	}	ControlButtonContentInfo inContent = new ControlButtonContentInfo ();	if (image == null) {		inContent.contentType = (short)OS.kControlContentTextOnly;	} else {		cIcon = createCIcon (image);		inContent.contentType = (short)OS.kControlContentCIconHandle;		inContent.iconRef = cIcon;	}	OS.SetControlData (parent.handle, index+1, OS.kControlTabImageContentTag, ControlButtonContentInfo.sizeof, inContent);	parent.redraw ();}