Hi,
I am having some weird troubles using the Fl_Menu widget. The following menu
was the simplest I could create that reproduces the problem.
Fl_Menu_Item items[] = {
{ "File", 0, 0, 0, FL_SUBMENU },
{ "Item1"},
{ "Sub1", 0, 0, 0, FL_SUBMENU },
{ "item1" },
{ "item2" },
{ "item3" },
{ "item4" },
{0},
{ "Sub2", 0, 0, 0, FL_SUBMENU },
{ "item5" },
{ "item6" },
{ "item7" },
{ "item8" },
{0},
{ "Item2"},
{0},
{ 0 }};
copy(items);
If I try to select any item of this menu the program crashes. Removing any of
the items resolves the problem.
Does anybody have a an idea what could be going on?
I'm using fltk 1.1.7 and the problem appears both on the windows XP and Linux
version of my program.
Thanks,
Steve.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk