capi:redisplay-menu-bar
has a new keyword argument
:redo-items
.
The value
redo-items
controls whether items in a
capi:menu
or
capi:menu-component
that have an
items-function
get recomputed when
capi:redisplay-menu-bar
is called. It defaults to
t
in order to ensure that any accelerators are up-to-date.
If the menu bar does contain menus (including sub-menus and menu-components) that have an
items-function
, then if you call
capi:redisplay-menu-bar
often (for example, each time the user types a character) it is better to pass
redo-items
nil
.
LispWorks Release Notes and Installation Guide - 23 Dec 2011