tvplanit: Fix compilation with Laz 3.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9111 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
360f872175
commit
f30d928804
@ -32,7 +32,7 @@ type
|
||||
function GetEventText(AEvent: TVpICalEvent): String;
|
||||
procedure SetCalendar(const AValue: TVpICalendar);
|
||||
|
||||
{$IF LCL_FullVersion >= 3000000}
|
||||
{$IF LCL_FullVersion >= 3990000}
|
||||
private
|
||||
FCanCloseTaskDialog: Boolean;
|
||||
procedure OpenEndEventsDialog;
|
||||
@ -222,7 +222,7 @@ procedure TVpImportPreviewICalEventForm.btnExecuteClick(Sender: TObject);
|
||||
begin
|
||||
if FCalendar.ContainsOpenEndEvents then
|
||||
begin
|
||||
{$IF LCL_FullVersion >= 3000000}
|
||||
{$IF LCL_FullVersion >= 3990000}
|
||||
OpenEndEventsDialog;
|
||||
{$ELSE}
|
||||
if not (rbOpenEndDuration30mins.Checked or rbOpenEndDuration1Hr.Checked or
|
||||
@ -283,7 +283,7 @@ begin
|
||||
Result := item.Checked;
|
||||
end;
|
||||
|
||||
{$IF LCL_FullVersion >= 3000000}
|
||||
{$IF LCL_FullVersion >= 3990000}
|
||||
procedure TVpImportPreviewICalEventForm.OpenendEventsDialog;
|
||||
const
|
||||
DURATIONS: array[0..3] of Double = (0.5/24, 1.0/24, 2.0/24, 4.0/24);
|
||||
|
Loading…
Reference in New Issue
Block a user