Stan wrote:
>> [STR Closed w/o Resolution]
>>
>> Link: http://www.fltk.org/str.php?L1752
>> Version: 1.1-current
>> Fix Version: Will Not Fix
>>
>>
>> There is no way for us to know what the subclass assumes, so we have to set
>> everything - otherwise you'll get undefined behavior.
>>
>> Will not fix.
> 
> Excuse my frustration, but that makes no sense whatsoever.
> 
> The request was to have the code generated by adding a
> subclass of Fl_Group be the same as that generated by
> adding an Fl_Group itself.  Surely using fluid to put an
> Fl_Group into a window doesn't lead to undefined behavior.

But assuming that the subclass has the same default attributes/values
as Fl_Group will lead to the subclass not getting those attributes
and values set in the generated code.

The current behavior may not be optimal, but the overhead is
negligible and ensures that everything is set accordingly.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com
_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to