|
@@ -284,7 +284,7 @@ end;
|
|
|
|
|
|
function TRect.Contains(Pt: TPoint): Boolean;
|
|
function TRect.Contains(Pt: TPoint): Boolean;
|
|
begin
|
|
begin
|
|
- Result := (Left <= Pt.X) and (Pt.X <= Right) and (Top <= Pt.Y) and (Pt.Y <= Bottom);
|
|
|
|
|
|
+ Result := (Left <= Pt.X) and (Pt.X < Right) and (Top <= Pt.Y) and (Pt.Y < Bottom);
|
|
end;
|
|
end;
|
|
|
|
|
|
function TRect.Contains(R: TRect): Boolean;
|
|
function TRect.Contains(R: TRect): Boolean;
|