Changeset 246:fd9c62a2998e for dwt/custom/CCombo.d
- Timestamp:
- 07/01/08 04:15:59 (6 months ago)
- Files:
-
- dwt/custom/CCombo.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/custom/CCombo.d
r244 r246 1 1 /******************************************************************************* 2 * Copyright (c) 2000, 200 7IBM Corporation and others.2 * Copyright (c) 2000, 2008 IBM Corporation and others. 3 3 * All rights reserved. This program and the accompanying materials 4 4 * are made available under the terms of the Eclipse Public License v1.0 … … 77 77 * <dd>DefaultSelection, Modify, Selection, Verify</dd> 78 78 * </dl> 79 * 80 * @see <a href="http://www.eclipse.org/swt/snippets/#ccombo">CCombo snippets</a> 81 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: CustomControlExample</a> 82 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 79 83 */ 80 84 public final class CCombo : Composite { … … 529 533 } 530 534 void dropDown (bool drop) { 531 if (drop is isDropped () ) return;535 if (drop is isDropped () || !isVisible()) return; 532 536 if (!drop) { 533 537 popup.setVisible (false); … … 1577 1581 */ 1578 1582 if (isDisposed ()) return; 1579 if (!visible) popup.setVisible(false); 1583 // TEMPORARY CODE 1584 if (popup is null || popup.isDisposed ()) return; 1585 if (!visible) popup.setVisible (false); 1580 1586 } 1581 1587 /**
