Mattias Gaertner escreveu:
On Tue, 26 Oct 2010 17:31:48 +0200
zeljko <[email protected]> wrote:

One note: IntersectRect in lazarus worked OK until we decided to use Types.IntersectRect, old implementation from GraphType looks much better than current fpc one.

Then it is probably better to undo the change.
Should I do that?

I think yes, but should be removed when Lazarus uses the fpc with the new IntersectRect version, since even reverting now it will still have the potential to lead to obscure bugs. In the same program you can have IntersectRect with different behavior just if you switch the uses order LCLIntf <> Types

PS: I was thinking of removing the other related functions (InflateRect) but gave up since they are also different. I will wait for the next Lazarus release and see first if Types version is Delphi/LCL compatible.

Luiz
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to