- Timestamp:
- Jan 9, 2008, 2:22:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT/pm/org/eclipse/swt/widgets/Decorations.java
r49 r57 457 457 // return null; 458 458 //} 459 // 460 //MenuItem findMenuItem (int id) {461 //if (items == null) return null;462 //id = id - ID_START;463 //if (0 <= id && id < items.length) return items [id];464 //return null;465 //}459 460 MenuItem findMenuItem (int id) { 461 if (items == null) return null; 462 id = id - ID_START; 463 if (0 <= id && id < items.length) return items [id]; 464 return null; 465 } 466 466 467 467 int getBounds (SWP swp) {
Note:
See TracChangeset
for help on using the changeset viewer.