[lazarus] Property 'Lazarus' in win32 interface

Martin Smat martin.smat at tiscali.cz
Sat Dec 27 10:09:40 EST 2003


Micha Nelissen wrote:
> Martin Smat wrote:
> 
>>   in win32 interface is set for every control the property with name
>> 'Lazarus' with value=address of class instance. It seems that this
>> property is duplicate with properties 'Control' and 'Wincontrol' which
>> are set in LCL for all WinControl class. And what more, in win32 
>> interface is not the property 'Lazarus' used correctly. It is set for 
>> other objects then only HWND (e.g. for HMENU) but such objects cannot 
>> store properties.
>>   I suggest to remove this property and replace all GetProp(hwnd, 
>> 'Lazarus') calls with GetProp(hwnd, 'Wincontrol').
>>   If other win32 developers will agree, I send a patch.
> 
> 
> I agree.
> 
Patch attached.

Martin.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zip00050.zip
Type: application/octet-stream
Size: 1532 bytes
Desc: "win32patch.zip"
Url : http://localhost/pipermail/lazarus/attachments/20031227/db27fe74/zip00050.obj


More information about the Lazarus mailing list