> manolo gouy wrote:
>
> > What is present in recap2.zip is
> > -test if Fl::pushed() is an Fl_Input_*
>   [...]
> > Is that OK?
>
> Probably from a logical point of view, but it uses dynamic_cast,
> and that's not (yet?) allowed according to the current CMP :-(
>
> http://www.fltk.org/cmp.php  ->  "C++ Portability"
>
> .... unless we allow it for 1.3.x or 3.x ;-)
>
> Mike, Matt ???
>
> Albrecht

I agree, but, please, note that this dynamic_cast is in Fl_cocoa.mm,
a file that does not have to be portable because it's entirely
and forever Mac OS X-specific.

Don't we break much more the C++ portability rules by using
objective-C++ code? :=)

Manolo
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to