[lazarus] LCL: WMPaint

Micha Nelissen mdvpost at hotmail.com
Mon Jun 30 06:28:25 EDT 2003


Mattias Gaertner wrote:
> On Mon, 30 Jun 2003 07:54:29 +0200
> "Micha Nelissen" <mdvpost at hotmail.com> wrote:
>
>> Could you apply to the other part then? I have reattached the part
>> that was important.
>
> I applied it.
> Although I think, the DC=Unused is a dirty hack. Is there any reason,
> to not use a flag in TWinControl?

Alike FNextWMEraseBkGndIsFromOurselves := true? No problem, i'd say. I just
copied this code from how delphi does it.

It seems FBrush is not always initialized, ie. it is nil. Can you add code
to initialize it?

Regards,

Micha.






More information about the Lazarus mailing list