LCL: fixed compilation with FPC 3.2.3 (PolygonNonZeroWindingRule was merged into it), issue #40339

This commit is contained in:
Maxim Ganetsky 2023-06-21 17:37:27 +03:00
parent 800703be6c
commit 82af317c33

View File

@ -85,7 +85,7 @@ type
FAssignedFont: TFPCustomFont;
FAssignedPen: TFPCustomPen;
FBaseWindowOrg: TPoint;
{$if FPC_FullVersion < 30301}
{$if FPC_FullVersion < 30203}
PolygonNonZeroWindingRule: Boolean;
{$endif}
{$if defined(ver2_6)}
@ -860,7 +860,7 @@ end;
procedure TLazCanvas.Polygon(const Points: array of TPoint; Winding: Boolean);
begin
{$if FPC_FullVersion < 30301}
{$if FPC_FullVersion < 30203}
PolygonNonZeroWindingRule := Winding;
{$ENDIF}
inherited Polygon(Points);