Skip to content

Commit c070629

Browse files
joachimmarderSharlikran
authored andcommitted
Corrected deperecated message. JAM-Software#834
1 parent 991ac44 commit c070629

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/VirtualTrees.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2757,7 +2757,7 @@ TBaseVirtualTree = class(TCustomControl)
27572757
function GetHintWindowClass: THintWindowClass; virtual;
27582758
procedure GetImageIndex(var Info: TVTPaintInfo; Kind: TVTImageKind; InfoIndex: TVTImageInfoIndex); virtual;
27592759
function GetImageSize(Node: PVirtualNode; Kind: TVTImageKind = TVTImageKind.ikNormal; Column: TColumnIndex = 0; IncludePadding: Boolean = True): TSize; virtual;
2760-
function GetNodeImageSize(Node: PVirtualNode): TSize; virtual; deprecated 'Use GetImageWidth instead';
2760+
function GetNodeImageSize(Node: PVirtualNode): TSize; virtual; deprecated 'Use GetImageSize instead';
27612761
function GetMaxRightExtend: Cardinal; virtual;
27622762
procedure GetNativeClipboardFormats(var Formats: TFormatEtcArray); virtual;
27632763
function GetOperationCanceled: Boolean;
@@ -2769,7 +2769,7 @@ TBaseVirtualTree = class(TCustomControl)
27692769
procedure HandleMouseDown(var Message: TWMMouse; var HitInfo: THitInfo); virtual;
27702770
procedure HandleMouseUp(var Message: TWMMouse; const HitInfo: THitInfo); virtual;
27712771
procedure HandleClickSelection(LastFocused, NewNode: PVirtualNode; Shift: TShiftState; DragPending: Boolean);
2772-
function HasImage(Node: PVirtualNode; Kind: TVTImageKind; Column: TColumnIndex): Boolean; virtual; deprecated 'Use GetImageWidth instead';
2772+
function HasImage(Node: PVirtualNode; Kind: TVTImageKind; Column: TColumnIndex): Boolean; virtual; deprecated 'Use GetImageSize instead';
27732773
function HasPopupMenu(Node: PVirtualNode; Column: TColumnIndex; Pos: TPoint): Boolean; virtual;
27742774
procedure InitChildren(Node: PVirtualNode); virtual;
27752775
procedure InitNode(Node: PVirtualNode); virtual;

0 commit comments

Comments
 (0)