FW: [lazarus] LCL: menu creation order

Florian Klaempfl Florian.Klaempfl at gmx.de
Wed Jul 2 04:32:58 EDT 2003


Micha Nelissen wrote:
> Mattias Gaertner wrote:
> 
>>On Tue, 1 Jul 2003 15:28:55 +0200
>>"Vincent Snijders" <VSDS at RND.VB.CBS.NL> wrote:
>>
>>
>>>>Same here, but the progressbar example has a new bug: When you click
>>>>on toggle smooth, all buttons disappear and only every second a blue
>>>>block is shown. I might have to do something with the changes to the
>>>>code of wm_erasebackground recently.
>>>
>>>I found it! The BeginPaint function is not implemented in
>>>lcl/include/winapi.inc. Can we introduce a method for it in the
>>>interface?
>>
>>Added.
> 
> 
> Well, completing the interface implementation does make it all work. I have
> attached a patch for that. But: it has a gigantic memory leak. If I take the
> progressbar example and let it fire every 50ms, memory is depleted in 10
> seconds. Not good.

Did you try -gh?






More information about the Lazarus mailing list