Oscillator detected..

matthiasm wrote:
> please do *not* make draw() public.

Albrecht's STR#2142:
> I suggest that we should change all core widget's draw() methods from
> protected to public.

        The STR would appear to point out a technical reason for this;
        a widget that wraps more than one widget; derives from one,
        contains an instance of the other, and the wrapper's draw()
        function (appears to) need to call the instanced widget's
        draw() function, which it wouldn't be able to do if private.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to