mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 05:18:16 +02:00
Sparta: Fix a condition testing FPC version.
git-svn-id: trunk@62597 -
This commit is contained in:
parent
69a95ec8cc
commit
2404e52688
@ -205,7 +205,7 @@ procedure TFormImpl.SetRealBounds(AIndex: Integer; AValue: Integer);
|
|||||||
LFormRect := Rect(0, 0, 0, 0);;
|
LFormRect := Rect(0, 0, 0, 0);;
|
||||||
LCLIntf.GetClientRect(GetForm.Handle, LFormRect);
|
LCLIntf.GetClientRect(GetForm.Handle, LFormRect);
|
||||||
LRealValue := GetRealBounds(AIndex);
|
LRealValue := GetRealBounds(AIndex);
|
||||||
{$IF FPC_FULLVERSION < 301010}
|
{$IF FPC_FULLVERSION < 30101}
|
||||||
case AIndex of
|
case AIndex of
|
||||||
0: LValue := LFormRect.Left;
|
0: LValue := LFormRect.Left;
|
||||||
1: LValue := LFormRect.Top;
|
1: LValue := LFormRect.Top;
|
||||||
|
Loading…
Reference in New Issue
Block a user