LCL/UpDown: Fix crash when mouse enters the space between the up/down buttons of a T(Float)SpinEditEx. Related to issue #38101.

git-svn-id: trunk@64357 -
This commit is contained in:
wp 2021-01-08 21:25:43 +00:00
parent a0dd8b81d2
commit 4f5bfef839

View File

@ -540,14 +540,10 @@ end;
procedure TCustomUpDown.MouseEnter;
begin // This should never happen because buttons cover the whole component.
Assert(False, 'TCustomUpDown.MouseEnter called!');
CheckMouseEntering;
end;
procedure TCustomUpDown.MouseLeave;
begin // This should never happen because buttons cover the whole component.
Assert(False, 'TCustomUpDown.MouseLeave called!');
CheckMouseLeaving;
end;
procedure TCustomUpDown.DoSetBounds(ALeft, ATop, AWidth, AHeight: integer);