FW: [lazarus] LCL: menu creation order

Micha Nelissen mdvpost at hotmail.com
Tue Jul 1 12:24:22 EDT 2003


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.

Regards,

Micha.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00044.bin
Type: application/octet-stream
Size: 3569 bytes
Desc: "beginendpaint.patch"
Url : http://localhost/pipermail/lazarus/attachments/20030701/1c179f44/bin00044.bin


More information about the Lazarus mailing list