Răsfoiți Sursa

* added cnDeleting, cnExtracting,cnAdding to TCollectionNotification for Delphi compatibility

Michaël Van Canneyt 1 an în urmă
părinte
comite
4f1329fb14
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      packages/rtl-generics/src/generics.collections.pas

+ 1 - 1
packages/rtl-generics/src/generics.collections.pas

@@ -123,7 +123,7 @@ type
       AIndex, ACount: SizeInt): Boolean; override; overload;
   end {$ifdef EXTRA_WARNINGS}experimental{$endif}; // will be renamed to TArray (bug #24254)
 
-  TCollectionNotification = (cnAdded, cnRemoved, cnExtracted);
+  TCollectionNotification = (cnAdding, cnAdded, cnDeleting, cnRemoved, cnExtracting,  cnExtracted);
   TCollectionNotifyEvent<T> = procedure(ASender: TObject; const AItem: T; AAction: TCollectionNotification)
     of object;