SetOnDrawPoint fix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
c56c859c68
commit
d85d2a6abd
@ -653,7 +653,8 @@ end;
|
||||
|
||||
procedure TPointOfInterest.SetOnDrawPoint(AValue: TPointOfInterestDrawEvent);
|
||||
begin
|
||||
// if FOnDrawPoint=AValue then Exit; // Troubles the object inspector
|
||||
if CompareMem(@FOnDrawPoint, @AValue, SizeOf(TMethod)) then
|
||||
Exit;
|
||||
FOnDrawPoint := AValue;
|
||||
if Assigned(FOnDrawPoint)
|
||||
then FPoint.OnDrawObj := @DrawPoint
|
||||
|
Loading…
Reference in New Issue
Block a user