Skip to content

Commit 2378094

Browse files
committed
Remove / comment not needed code
1 parent e1be2fa commit 2378094

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

Source/VirtualTrees.pas

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,6 @@ TVirtualTreeColumns = class(TCollection)
10701070
FNeedPositionsFix: Boolean; // True if FixPositions must still be called after DFM loading or Bidi mode change.
10711071
FClearing: Boolean; // True if columns are being deleted entirely.
10721072

1073-
function GetCount: Integer;
10741073
function GetItem(Index: TColumnIndex): TVirtualTreeColumn;
10751074
function GetNewIndex(P: TPoint; var OldIndex: TColumnIndex): Boolean;
10761075
procedure SetDefaultWidth(Value: Integer);
@@ -1136,7 +1135,6 @@ TVirtualTreeColumns = class(TCollection)
11361135
procedure SaveToStream(const Stream: TStream);
11371136
function TotalWidth: Integer;
11381137

1139-
property Count: Integer read GetCount;
11401138
property ClickIndex: TColumnIndex read FClickIndex;
11411139
property DefaultWidth: Integer read FDefaultWidth write SetDefaultWidth default 50;
11421140
property Items[Index: TColumnIndex]: TVirtualTreeColumn read GetItem write SetItem; default;
@@ -6693,18 +6691,18 @@ constructor TVirtualTreeColumn.Create(Collection: TCollection);
66936691
FImageIndex := -1;
66946692
FMargin := 4;
66956693
FSpacing := 3;
6696-
FText := '';
6694+
//FText := '';
66976695
FOptions := DefaultColumnOptions;
66986696
FAlignment := taLeftJustify;
66996697
FBiDiMode := bdLeftToRight;
67006698
FColor := clWindow;
67016699
FLayout := blGlyphLeft;
6702-
FBonusPixel := False;
6700+
//FBonusPixel := False;
67036701
FCaptionAlignment := taLeftJustify;
67046702
FCheckType := ctCheckBox;
67056703
FCheckState := csUncheckedNormal;
6706-
FCheckBox := False;
6707-
FHasImage := False;
6704+
//FCheckBox := False;
6705+
//FHasImage := False;
67086706
FDefaultSortDirection := sdAscending;
67096707

67106708
inherited Create(Collection);
@@ -7854,14 +7852,6 @@ destructor TVirtualTreeColumns.Destroy;
78547852

78557853
//----------------------------------------------------------------------------------------------------------------------
78567854

7857-
function TVirtualTreeColumns.GetCount: Integer;
7858-
7859-
begin
7860-
Result := inherited Count;
7861-
end;
7862-
7863-
//----------------------------------------------------------------------------------------------------------------------
7864-
78657855
function TVirtualTreeColumns.GetItem(Index: TColumnIndex): TVirtualTreeColumn;
78667856

78677857
begin

0 commit comments

Comments
 (0)