Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-10

Questionable code in TWinControl.RealizeBoundsRecursive

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hans-Peter Diettrich

I just uploaded an minor patch (#20490) to this method.

Then I noticed a possible problem in the handling of the wcfRealizingBounds flag - why is this flag cleared (only) when it was set *before* this method was entered?

Is this a special usage of the method, intended to only reset this flag?

I'd like to document this behaviour, unless sombeody explains it in the source code.

DoDi

Reply by email

Mattias Gaertner
to Hans-Peter Diettrich

Hans-Peter Diettrich hat am 15. Oktober 2011 um 12:35 geschrieben:

Show quoted text 5 lines
I just uploaded an minor patch (#20490) to this method. Then I noticed a possible problem in the handling of the wcfRealizingBounds flag - why is this flag cleared (only) when it was set *before* this method was entered??

Thanks for reporting. Fixed.?
?

> Is this a special usage of the method, intended to only reset this flag? I'd like to document this behaviour, unless sombeody explains it in the source code.

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111015/7d9ec1c7/attachment.html>

Reply by email