int topHandle = topHandle (); if (OS.IsControlVisible(topHandle) != visible) { OS.HIViewSetVisible(topHandle, visible); sendEvent (visible ? SWT.Show : SWT.Hide); }
OS.HIViewSetVisible(topHandle(), visible); sendEvent (visible ? SWT.Show : SWT.Hide);
public void setVisible (boolean visible) {	checkWidget();	if (visible == false)		visible= visible;    if (this.visible != visible) {	    this.visible= visible;		int topHandle = topHandle ();		if (OS.IsControlVisible(topHandle) != visible) {			OS.HIViewSetVisible(topHandle, visible);			sendEvent (visible ? SWT.Show : SWT.Hide);		}    }}