Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328976

Summary: event.doit = false for SWT.Close does not work on WM6
Product: z_Archived Reporter: Wolfgang Röckelein <mail>
Component: ERCPAssignee: ercp.eswt <ercp.eswt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Windows Mobile 5.0   
Whiteboard:

Description Wolfgang Röckelein CLA 2010-10-28 16:22:06 EDT
shell = new MobileShell(display, SWT.CLOSE);
shell.addListener(SWT.Close, new Listener() { public void handleEvent(Event event) {
event.doit = false;
}});

Shell is closed when clicking on the x in the right upper corner.
Expected: shell stays open as on Win32.