Project: SWT
Bug 310636 problems with toolitem setHotImage and setDisabledImage on cocoa
Reported: 2010-04-27 09:54:52 | Status: resolved fixed

1) run snippet 47 It sets image, hot image and disabled image for toolitem. But on cocoa, hot image is always shown. Also, the disabled hot image is shown as the disabled image for the toolitem. Snippet works fine on Windows. Reproducible with 3.6 HEAD.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java