tvplanit: Add missing {$I vp.inc} in some of the new painter units. (Had caused a compilation issue).

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4837 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-06-25 23:46:00 +00:00
parent 8025160806
commit d6961421d3
4 changed files with 9 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
unit VpCalendarPainter;
{$I vp.inc}
interface
uses
@@ -297,7 +299,7 @@ begin
DecodeDate(RenderDate, Y, M, D);
try
{$IFDEF VERSION6}
if not TryEncodeDate (Y, M, clDay, lDate) then
if not TryEncodeDate (Y, M, TVpCalendarOpener(FCalendar).clDay, lDate) then
lBadDate := true;
{$ELSE}
lDate := EncodeDate(Y, M, TVpCalendarOpener(FCalendar).clDay);