ChUI quirk when sub-menu doesn't have any children
#1 Updated by Constantin Asofiei over 5 years ago
From #1790 note 573:
I've faced with the following bug in CHUI: when some sub-menu has no items at all, but it is included in a MENUBAR (or in some sub-menu) window is displayed incorrectly: first menu-bar element does not gain a focus, there are no message or status area displayed. Here is sample procedure:
def sub-menu m9. def sub-menu m10 menu-item mm label "mmm". def sub-menu sm sub-menu m9 label "&Mitsubi&shi". sub-menu m10 label "Hon&da&". menu-item ext label "E&xi&t". define menu m menubar. sub-menu sm label "sm". assign current-window:menubar = menu m:handle. wait-for choose of menu-item ext.