Brian wrote: >> Also arguing that replacing char* by std::string and so on would make FLTK2 > more bug free is a complete... > > Using std::string *would* make fltk2 more bug free. > But it would be a mistake.
Maybe it could be a compile time option to enable std::string() methods. This way one can compile fltk with the option off if they don't plan on using std stuff in their apps. Supporting it would at least allow strings to be changed at runtime without having to call label() again to change it. (Just invoke a redraw()) This would be handy for internationalization.. just changing the label's string would be all that's needed, no need to have to track down the widget and update its label(). _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev