You've already forked lazarus-ccr
tvplanit: Fix Dayview crashing IDE when inserted to form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4920 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -418,7 +418,7 @@ type
|
||||
UseGran: TVpGranularity);
|
||||
procedure PaintToCanvas (ACanvas: TCanvas; ARect: TRect; Angle: TVpRotationAngle;
|
||||
ADate: TDateTime; StartHour, EndHour: TVpHours; UseGran: TVpGranularity);
|
||||
procedure RenderToCanvas (RenderCanvas: TCanvas; RenderIn: TRect;
|
||||
procedure RenderToCanvas(RenderCanvas: TCanvas; RenderIn: TRect;
|
||||
Angle: TVpRotationAngle; Scale: Extended; RenderDate: TDateTime;
|
||||
StartLine, StopLine: Integer; UseGran: TVpGranularity; DisplayOnly: Boolean); override;
|
||||
|
||||
|
@ -305,10 +305,8 @@ begin
|
||||
// Initialize the rectangle to be used for all-day events
|
||||
ADEventsRect := InitAllDayEventsRect;
|
||||
|
||||
{
|
||||
if (FDayView.DataStore = nil) or (FDayView.DataStore.Resource = nil) then
|
||||
Exit;
|
||||
}
|
||||
|
||||
// Collect all of the events for this range and determine the maximum
|
||||
// number of all day events for the range of days covered by the control.
|
||||
|
Reference in New Issue
Block a user