@@ -1070,7 +1070,6 @@ TVirtualTreeColumns = class(TCollection)
1070
1070
FNeedPositionsFix: Boolean; // True if FixPositions must still be called after DFM loading or Bidi mode change.
1071
1071
FClearing: Boolean; // True if columns are being deleted entirely.
1072
1072
1073
- function GetCount: Integer;
1074
1073
function GetItem(Index: TColumnIndex): TVirtualTreeColumn;
1075
1074
function GetNewIndex(P: TPoint; var OldIndex: TColumnIndex): Boolean;
1076
1075
procedure SetDefaultWidth(Value: Integer);
@@ -1136,7 +1135,6 @@ TVirtualTreeColumns = class(TCollection)
1136
1135
procedure SaveToStream(const Stream: TStream);
1137
1136
function TotalWidth: Integer;
1138
1137
1139
- property Count: Integer read GetCount;
1140
1138
property ClickIndex: TColumnIndex read FClickIndex;
1141
1139
property DefaultWidth: Integer read FDefaultWidth write SetDefaultWidth default 50;
1142
1140
property Items[Index: TColumnIndex]: TVirtualTreeColumn read GetItem write SetItem; default;
@@ -6693,18 +6691,18 @@ constructor TVirtualTreeColumn.Create(Collection: TCollection);
6693
6691
FImageIndex := -1;
6694
6692
FMargin := 4;
6695
6693
FSpacing := 3;
6696
- FText := '';
6694
+ // FText := '';
6697
6695
FOptions := DefaultColumnOptions;
6698
6696
FAlignment := taLeftJustify;
6699
6697
FBiDiMode := bdLeftToRight;
6700
6698
FColor := clWindow;
6701
6699
FLayout := blGlyphLeft;
6702
- FBonusPixel := False;
6700
+ // FBonusPixel := False;
6703
6701
FCaptionAlignment := taLeftJustify;
6704
6702
FCheckType := ctCheckBox;
6705
6703
FCheckState := csUncheckedNormal;
6706
- FCheckBox := False;
6707
- FHasImage := False;
6704
+ // FCheckBox := False;
6705
+ // FHasImage := False;
6708
6706
FDefaultSortDirection := sdAscending;
6709
6707
6710
6708
inherited Create(Collection);
@@ -7854,14 +7852,6 @@ destructor TVirtualTreeColumns.Destroy;
7854
7852
7855
7853
//----------------------------------------------------------------------------------------------------------------------
7856
7854
7857
- function TVirtualTreeColumns.GetCount: Integer;
7858
-
7859
- begin
7860
- Result := inherited Count;
7861
- end;
7862
-
7863
- //----------------------------------------------------------------------------------------------------------------------
7864
-
7865
7855
function TVirtualTreeColumns.GetItem(Index: TColumnIndex): TVirtualTreeColumn;
7866
7856
7867
7857
begin
0 commit comments