[lazarus] WndList global variable

Micha Nelissen micha at neli.hopto.org
Thu Dec 18 05:02:46 EST 2003


Vincent Snijders wrote:

> The win32 interface has a global variable WndList. Comments in code
> suggest it is (or should, would be) used to keep a list with windows,
> that have properties set by SetProp. At the end this list could be used
> to remove the properties with RemoveProp. This is not implemented.
> 
> IMO this variable is obsolete, since we remove all properties while
> handling the wm_destroy message in the wndproc. We don't need the global
> variable to do so. Can it be removed?

Indeed, things are only added to it, never inspected to do something 
useful. I have removed it.

Thanks,

Micha.






More information about the Lazarus mailing list