[lazarus] Patch win32 intf/lcl: brush init

Micha Nelissen M.Nelissen at student.tue.nl
Thu Sep 25 08:36:47 EDT 2003


Hi,

It seems sometimes the brush is not initialized when referenced in 
win32callback. Therefore I had to move the CreateBrush method from 
protected to public and call it. Attached is a patch for this, apply in 
lcl/.

It's also possible to write a GetBrush method to initialize on demand.

Regards,

Micha.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00071.bin
Type: application/octet-stream
Size: 777 bytes
Desc: "brush.patch.gz"
Url : http://localhost/pipermail/lazarus/attachments/20030925/995af963/bin00071.bin


More information about the Lazarus mailing list