Bug 4452 - MenuItem: setImage does not show image on menu (1FGNP8U)
Summary: MenuItem: setImage does not show image on menu (1FGNP8U)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All Windows All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Mike Wilson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:17 EDT by Mike Wilson CLA
Modified: 2002-05-23 13:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilson CLA 2001-10-11 14:17:01 EDT
When you set an image on a menu item, you do not see the image on the menu.

	Menu 3 on the SwtMenuUseCase example has been ammended to set an image
	for each item.

	see the method createMenu3() for the code

	run this example and click on menu 3, no images are shown.

NOTES:

	SN (3/29/00 4:02:52 PM) -
		Fixed on 98 and 2000.

	McQ (10/10/2000 3:22:37 PM) -
		Does this work on NT and Linux? JH to investigate.

	JH (10/10/00 5:31:34 PM) -
		It does not work on NT. The test case GPF's on Linux.

	JH (11/29/00 6:49:27 PM) -
		I re-ran this test case on Linux and it no longer GPFs. It looks like this 
		problem was related to:
		1G2OCD1: SWT:Linux - GPF when creating Menu after disposing Display.
		The menu items still do not show the images (on Linux or NT).

	SN (2/1/01 1:46:53 PM) -
		There is no support for images on menus on linux or NT. It does however
		work on 98 and 2000. We should comment the method to indicate which
		platforms it will work on.

	McQ (26/06/2001 9:52:22 AM) -
		Agree that we should comment this.
Comment 1 DJ Houghton CLA 2001-10-24 06:29:06 EDT
PRODUCT VERSION:

	0.27b

Comment 2 Mike Wilson CLA 2002-05-23 13:57:23 EDT
Updated javadoc for setImage.