Skip to content

Commit 0a157c2

Browse files
committed
Corrected deperecated message. #834
1 parent af4b13d commit 0a157c2

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
@@ -2679,7 +2679,7 @@ TBaseVirtualTree = class(TCustomControl)
26792679
function GetHintWindowClass: THintWindowClass; virtual;
26802680
procedure GetImageIndex(var Info: TVTPaintInfo; Kind: TVTImageKind; InfoIndex: TVTImageInfoIndex); virtual;
26812681
function GetImageSize(Node: PVirtualNode; Kind: TVTImageKind = TVTImageKind.ikNormal; Column: TColumnIndex = 0; IncludePadding: Boolean = True): TSize; virtual;
2682-
function GetNodeImageSize(Node: PVirtualNode): TSize; virtual; deprecated 'Use GetImageWidth instead';
2682+
function GetNodeImageSize(Node: PVirtualNode): TSize; virtual; deprecated 'Use GetImageSize instead';
26832683
function GetMaxRightExtend: Cardinal; virtual;
26842684
procedure GetNativeClipboardFormats(var Formats: TFormatEtcArray); virtual;
26852685
function GetOperationCanceled: Boolean;
@@ -2691,7 +2691,7 @@ TBaseVirtualTree = class(TCustomControl)
26912691
procedure HandleMouseDown(var Message: TWMMouse; var HitInfo: THitInfo); virtual;
26922692
procedure HandleMouseUp(var Message: TWMMouse; const HitInfo: THitInfo); virtual;
26932693
procedure HandleClickSelection(LastFocused, NewNode: PVirtualNode; Shift: TShiftState; DragPending: Boolean);
2694-
function HasImage(Node: PVirtualNode; Kind: TVTImageKind; Column: TColumnIndex): Boolean; virtual; deprecated 'Use GetImageWidth instead';
2694+
function HasImage(Node: PVirtualNode; Kind: TVTImageKind; Column: TColumnIndex): Boolean; virtual; deprecated 'Use GetImageSize instead';
26952695
function HasPopupMenu(Node: PVirtualNode; Column: TColumnIndex; Pos: TPoint): Boolean; virtual;
26962696
procedure InitChildren(Node: PVirtualNode); virtual;
26972697
procedure InitNode(Node: PVirtualNode); virtual;

0 commit comments

Comments
 (0)