From d54c06b4202eee1721b84d5fafc36db8fb725967 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Sat, 1 Oct 2022 17:11:58 +0000 Subject: [PATCH] ExCtrls: Fix LCL version directive for adding "override" to TCustomCurrSpinEditEx.SameValue. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8506 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/exctrls/source/exeditctrls.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/exctrls/source/exeditctrls.pas b/components/exctrls/source/exeditctrls.pas index 536bd0024..509d1556c 100644 --- a/components/exctrls/source/exeditctrls.pas +++ b/components/exctrls/source/exeditctrls.pas @@ -67,7 +67,7 @@ type function SafeInc(AValue: Currency): Currency; override; function SafeDec(AValue: Currency): Currency; override; {$IFDEF SAMEVALUE_FIX} - function SameValue(AValue1, AValue2: Currency): Boolean; {$IF LCL_FullVersion >= 2030000}override;{$IFEND} + function SameValue(AValue1, AValue2: Currency): Boolean; {$IF LCL_FullVersion >= 2020200}override;{$IFEND} {$ENDIF} function TextIsNumber(const S: String; out ANumber: Currency): Boolean; override; function TryExtractCurrency(AText: String; out AValue: Currency;