Oguz Akyuz wrote:
> I think I can answer my question. It is the expected behavior since the menu_
> might require a realloc when a new item is added.
Correct.
> I think one should access all menu items using find_item to handle for such
> cases.
Yes, this is why I submitted find_item() and item_pathname() to Fl_Menu:
http://fltk.org/str.php?L316+P0+S-1+C0+I0+E0+M10+Qfind_item
http://fltk.org/str.php?L283+P0+S-1+C0+I0+E0+M10+Qitem_pathname
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk