Mattias Gaertner wrote:
On Sun, 02 Oct 2005 17:59:52 +0200
Matthijs Willemstein <[EMAIL PROTECTED]> wrote:
Hi All,
In Delphi the Paint method is declared protected in TCustomControl. In
Lazarus however this method is declared public.
Is this a remainder of the past or is it done intentionally?
Why should it not be public?
Why should an outside piece of code decide that you (the TYourComponent)
should paint ?
IMO, this could suduce ppl to bad programming (invalidate is better to use)
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives