(Maybe one for Manolo?)

I have an app that, in its menu structure, has some FL_MENU_TOGGLE entries that 
show a check mark... Now, depending on various happenings within the code, 
these check marks may be set or cleared programmatically at runtime, using e.g. 
item->set(); and item->clear();

All well and good - except on OSX where I am using Fl_Sys_Menu_Bar, where the 
changes to the state of the toggles are never shown by the menus...

Though if I query the menu items internally they do report the state toggling, 
and if I click on the check items, they respond as if they had the internal 
state rather than the displayed state... That is, if the menu shows a check 
mark, but internally that item is clear, then clicking on the item causes it to 
be "updated" to the set state... Then clicking it again clears it...

Of course, the same code appears to be fine on X11 and WIN32 so this does seem 
to be a feature of Fl_Sys_Menu_Bar.

Anyone else seeing this? Is there a workaround? How do I cause the 
Fl_Sys_Menu_Bar to be refreshed to reflect the actual state?

I guess this may be a bug? Or is this Just The Way Things Are on OSX and we are 
stuck with it?

Cheers,
-- 
Ian



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to