On 3 Nov 2007, at 1:31, Greg Ercolano wrote: > Steve Maas wrote: >> Yes, using menu() in stead of copy() works for me >> as well for this menu, but copy() does not work. >> Does copy work for you? > > I changed "menubar.menu(items);" in my example to "menubar.copy > (items);" > and it worked OK too. > > Tested with both fltk-1.1.7 and fltk-1.1.x current svn under > fedora3 linux. > > No crashes or odd behavior that I can see when navigating the menu > and picking items in various submenus..
Just as another opinon, I just tried Greg's example here, and it works fine for me, with either "menubar.menu(items);" or "menubar.copy (items);" in the code. This is with fltk-1.1.x current svn on OSX 10.4. What platform/version is the OP using? Cheers, -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

