DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2706
Version: 1.3-current
Attached file "fluidinputchoice.patch"...
Link: http://www.fltk.org/str.php?L2706
Version: 1.3-current
diff -r -u fltk-1.3.x-r8914-orig//fluid/Fl_Menu_Type.cxx
fltk-1.3.x-r8914//fluid/Fl_Menu_Type.cxx
--- fltk-1.3.x-r8914-orig//fluid/Fl_Menu_Type.cxx 2011-07-18 23:49:30.000000000
-0500
+++ fltk-1.3.x-r8914//fluid/Fl_Menu_Type.cxx 2011-08-25 15:46:58.849415584 -0500
@@ -205,6 +205,9 @@
write_c(" ((%s*)(o", k);
Fl_Type* t = parent; while (t->is_menu_item()) t = t->parent;
Fl_Type *q = 0;
+ // Go up one more level for Fl_Input_Choice, as these are groups
themselves
+ if (t && !strcmp(t->type_name(), "Fl_Input_Choice"))
+ write_c("->parent()");
for (t = t->parent; t && t->is_widget() && !is_class(); q = t, t =
t->parent)
write_c("->parent()");
if (!q || strcmp(q->type_name(), "widget_class"))
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs