View | Details | Raw Unified | Return to bug 21619 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java (-2 / +2 lines)
Lines 1557-1566 Link Here
1557
	}
1557
	}
1558
}
1558
}
1559
1559
1560
/*public*/ void setListVisible (boolean visible) {
1560
public void setListVisible (boolean visible) {
1561
	checkWidget ();
1561
	checkWidget ();
1562
	if ((style & SWT.READ_ONLY) != 0) {
1562
	if ((style & SWT.READ_ONLY) != 0) {
1563
		//TODO - show the menu in the right place
1563
		OS.HIViewSimulateClick(handle, (short) 1, 0, null);
1564
	} else {
1564
	} else {
1565
		OS.HIComboBoxSetListVisible (handle, visible);
1565
		OS.HIComboBoxSetListVisible (handle, visible);
1566
	}
1566
	}

Return to bug 21619