[EMAIL PROTECTED] wrote:
>> The vast majority of widget labels & tooltips are compile time constants > Other than your own apps, do you have any evidence whatsoever > to support this statement? I also disagree with saying that majority of labels are compile time constant, because: 1) mostly: translations 2) and also: dynamic labels (i.e. gui with more dynamic elements) I realize often it is compile time constans string literal, but often it is not, and the fact that using ->label( mystring.c_str() ) caused a segfault(!) I consider a very VERY bad, horrible practise. Imho, worst we can do for developers (using "our" lib) is to add pitfalls like that! If we want to as well support string literals so that embbed platforms can benefit from them, then lets add the opposite - label_literal() or something. Old programs will not break (will just increase tiny their mem usage) -- RafaĆ Maj Software developer http://www.limcore.com/ _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
