if (!item.isDisposed ()) {
if (item != null && !item.isDisposed ()) {
void releaseWidget () {	MenuItem [] items = getItems ();	for (int i=0; i<items.length; i++) {		MenuItem item = items [i];		if (!item.isDisposed ()) {			if (OS.IsPPC && hwndCB != 0) {				item.dispose ();			} else {				item.releaseResources ();			}		}	}	if (OS.IsPPC && hwndCB != 0) {		if (imageList != null) {			OS.SendMessage (hwndCB, OS.TB_SETIMAGELIST, 0, 0);			display.releaseToolImageList (imageList);			imageList = null;		}	}	super.releaseWidget ();	if (parent != null) parent.removeMenu (this);	parent = null;	cascade = null;}