On Jul 20, 2011, at 12:15 AM, Greg Ercolano wrote:
> Would like to suggest adding a few things to Fl_Input_Choice:
> 
>    1) Change the existing method:
> 
>         void add(const char *s) { menu_->add(s); }
> 
>       to instead:
> 
>          int add(const char *s) { return(menu_->add(s)); }
> 
>       This corrects an omission, allowing the user to access
>       the integer value that is the index for the menu item.
> ...
> A few questions:
> 
>   a) Does (1) break the ABI (by changing the return value from void to int)?
>      Pretty sure the others would have no impact.

Yes, 1) changes the ABI and so can't be introduced in 1.3.x. The others are 
fine (although it will complicate the 1.3/2.0 -> 3.0 transition a bit...)

________________________________________
Michael Sweet, Easy Software Products

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to