Stan wrote:
> Is there some way to make Fl_Input_Choice behave like Fl_Choice
> with respect to (not) choosing submenu labels?

        Hmm, that looks like a bug in Fl_Input_Choice.

        Definitely the widget should not let the user pick a submenu.

        Report it as a bug using the STR form.. maybe this can be
        snuck into 1.1.8, as fixing it shouldn't affect the ABI;
        Fl_Input_Choice is just a .H file, no .cxx or obj is generated for it.

        You can either use the fix you noted in your code,
        or just make a copy of Fl_Input_Choice.H in your own app's directory,
        (calling it eg. MyInputChoice.H) and make the necessary changes/fixes,
        and just use that instead, as the widget is just a .H file.

        Either that, or hack the actual .H file in FLTK.
        (you won't need to recompile FLTK because Fl_Input_Choice is
        just a .H file)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to