Make sure GUI is updated after activation of a menu item from Fl_Sys_Menu_Bar
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
24a5fa7632
commit
dc569ef8fb
@ -110,6 +110,7 @@ const char *Fl_Mac_App_Menu::quit = "Quit %@";
|
||||
{
|
||||
const Fl_Menu_Item *item = [self getFlItem];
|
||||
menu->picked(item);
|
||||
Fl::flush();
|
||||
if ( item->flags & FL_MENU_TOGGLE ) { // update the menu toggle symbol
|
||||
[self setState:(item->value() ? NSOnState : NSOffState)];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user