On 17.02.2010, at 09:33, MacArthur, Ian (SELEX GALILEO, UK) wrote: > >> I'm trying to add a bit more of a cheap RTTI for fltk through >> macros and without add new fields to any widget only new >> methods, some static and some virtual. > > > Before you get too bogged down in the details of that - you are aware > that fltk already has a widget->type() method that is used to simulate > RTTI, (though some of what it does is awkward and/or controversial...)
->type() is a leftover from Forms Library times (12 years ago). IMHO we can now get rid of it and use RTTI as it is built into C++. I seriously doubt that there is still a compiler out there (embedded included) that does not mange RTTI, or is there? Matthias _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

