TFloatSpinEditEx: revert part of changes made in #95cfa51d, since it refuses to compile on MacOS en Linux 64 bit.

(cherry picked from commit 05531f1071)
This commit is contained in:
Bart 2022-09-18 11:46:24 +02:00 committed by Maxim Ganetsky
parent af337163f9
commit ffa66c6049

View File

@ -213,12 +213,12 @@ end;
function TSpinEditExBase.MaxValueStored: Boolean;
begin
Result := not SameValue(FMaxValue, T(DefMaxValue)); //use typecast to force use of correct overload. Issue #39792
Result := not SameValue(FMaxValue, DefMaxValue);
end;
function TSpinEditExBase.MinValueStored: Boolean;
begin
Result := not SameValue(FMinValue, T(DefMinValue)); //use typecast to force use of correct overload. Issue #39792
Result := not SameValue(FMinValue, DefMinValue);
end;
procedure TSpinEditExBase.EditMouseWheelUp(Shift: TShiftState;