tvplanit: Fix incorrect VpMonthView painting when date is 0 (Dec 30, 1899).

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2023-03-15 21:32:14 +00:00
parent 71b627aa59
commit eec167171d
2 changed files with 2 additions and 2 deletions

View File

@ -1558,7 +1558,7 @@ end;
procedure TVpMonthView.MouseEnter;
begin
FMouseDate := 0;
FMouseDate := -MaxInt;
end;
procedure TVpMonthView.MouseLeave;

View File

@ -841,7 +841,7 @@ var
begin
inherited;
FDisplayDate := IfThen(RenderDate = 0, Date, RenderDate);
FDisplayDate := RenderDate;
with TVpMonthViewOpener(FMonthView) do
begin