[fpc-devel] TWriter writing fake methods

2007-04-30 Thread Mattias Gaertner
Here is a patch to extend TWriter.OnWriteMethodProperty. Formerly it gives only the ancestor code address, not the method data. And it misses the property path, which is needed to write sub properties like Font.OnChange. With this patch lazarus can get rid of the dirty hack to create methods.

Re: [fpc-devel] TWriter writing fake methods

2007-04-30 Thread Michael Van Canneyt
On Mon, 30 Apr 2007, Mattias Gaertner wrote: Here is a patch to extend TWriter.OnWriteMethodProperty. Formerly it gives only the ancestor code address, not the method data. And it misses the property path, which is needed to write sub properties like Font.OnChange. With this patch

Re: [fpc-devel] TWriter writing fake methods

2007-04-30 Thread Vincent Snijders
Michael Van Canneyt schreef: On Mon, 30 Apr 2007, Mattias Gaertner wrote: Here is a patch to extend TWriter.OnWriteMethodProperty. Formerly it gives only the ancestor code address, not the method data. And it misses the property path, which is needed to write sub properties like