Re: [fltk.development] [RFE] STR #2948: Add a method toFl_Widgetthat returns its top-level window

2013-04-12 Thread Greg Ercolano
On 04/12/13 13:19, Ian MacArthur wrote:
 I'm in favour of allowing the C++ style casts.
 I expect that it probably works with all the extant compilers now?
 Does anyone know for sure?

The static_cast mod flew in all my tests on redhat9 and irix6.5,
and those are as old as the friggin hills.

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


Re: [fltk.development] [RFE] STR #2948: Add a method toFl_Widgetthat returns its top-level window

2013-04-12 Thread Ian MacArthur

On 13 Apr 2013, at 00:07, Greg Ercolano wrote:

 On 04/12/13 13:19, Ian MacArthur wrote:
 I'm in favour of allowing the C++ style casts.
 I expect that it probably works with all the extant compilers now?
 Does anyone know for sure?
 
   The static_cast mod flew in all my tests on redhat9 and irix6.5,
   and those are as old as the friggin hills.


You say static_cast here?

Would we not be wanting const_cast in this case...? Or am I missing something 
obvious again?



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