Stan wrote:
> [..]
>>> What is often lost in this discussion is the fact that
>>>   begin();  new Thing(..);  new Thing(); end()
>>> is NOT exactly the same as
>>>   add(new Thing(..)); add(new Thing(..));
>>      I'm probably forgetting something about FLTK2; what's the difference?
> 
> I've never used fltk2.  In the context of fltk1:

        Yes, but I think the OP is regarding FLTK2 (subject of this thread).

        I think the FLTK folks have done what they can to get rid of
        the implied begin() by taking it out in FLTK2.

        There was no way to take it out of FLTK1 without breaking
        all legacy code, so it remains. Folks using FLTK1 just have
        to know about the implied begin(), and if that's not clear from
        the docs, feel free to add more info to STR #1815 before it closes.


> To solve this problem with documentation, the documentation must
> make the distinction very clear.  (To solve the problem without
> documentation, and avoid errors, just get rid of the begin().. end()
> thing and make users use add() -- but we've had that discussion
> before).

        Agreed; to get this fixed, please make an STR, or append to the
        existing #1815 before it gets closed for being a dup, as I think
        matthais already made a doc fix in SVN for this, but it hasn't
        updated to the website yet.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to