Project: SWT
Bug 30905 Add Menu.setRedraw(boolean) API
Reported: 2003-02-04 15:28:41 | Status: resolved fixed

On windows, when the workbench removes a number of menu item and adds a number of menu item, it causes the menu bar to flash a lot. I hack the Menu class to have a setRedraw(boolean) method, and by doing so, it eliminated the flash we were seeing. Is it possible to have this API? It is important to overall feel of the workbench. Can this be fixed for 2.1?

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java