mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 04:56:02 +02:00
LCL/ShellCtrls: Temporarily deactivate changes in ShellCtrls made by r64575 #e32b62e6b4. Issue #38517.
git-svn-id: trunk@64679 -
This commit is contained in:
parent
7a882b653e
commit
dfaea13f4b
@ -84,7 +84,7 @@ type
|
|||||||
procedure DoSelectionChanged; override;
|
procedure DoSelectionChanged; override;
|
||||||
procedure DoAddItem(const ABasePath: String; const AFileInfo: TSearchRec; var CanAdd: Boolean);
|
procedure DoAddItem(const ABasePath: String; const AFileInfo: TSearchRec; var CanAdd: Boolean);
|
||||||
function CanExpand(Node: TTreeNode): Boolean; override;
|
function CanExpand(Node: TTreeNode): Boolean; override;
|
||||||
|
(*
|
||||||
{$ifdef mswindows}
|
{$ifdef mswindows}
|
||||||
private
|
private
|
||||||
FBuiltinIconSize: TSize;
|
FBuiltinIconSize: TSize;
|
||||||
@ -92,6 +92,7 @@ type
|
|||||||
function DrawBuiltInIcon(ANode: TTreeNode; ARect: TRect): TSize; override;
|
function DrawBuiltInIcon(ANode: TTreeNode; ARect: TRect): TSize; override;
|
||||||
function GetBuiltinIconSize: TSize; override;
|
function GetBuiltinIconSize: TSize; override;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
*)
|
||||||
|
|
||||||
public
|
public
|
||||||
{ Basic methods }
|
{ Basic methods }
|
||||||
@ -375,7 +376,8 @@ procedure Register;
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
{$ifdef windows}
|
{$ifdef windows}
|
||||||
uses Windows, ShellApi;
|
//uses Windows, ShellApi;
|
||||||
|
uses Windows;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
const
|
const
|
||||||
@ -996,6 +998,7 @@ begin
|
|||||||
FOnAddItem(Self, ABasePath, AFileInfo, CanAdd);
|
FOnAddItem(Self, ABasePath, AFileInfo, CanAdd);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
(*
|
||||||
{$ifdef mswindows}
|
{$ifdef mswindows}
|
||||||
{ Extracts the windows shell icon of the specified file. }
|
{ Extracts the windows shell icon of the specified file. }
|
||||||
function GetShellIcon(const AFileName: WideString): TIcon;
|
function GetShellIcon(const AFileName: WideString): TIcon;
|
||||||
@ -1054,6 +1057,7 @@ begin
|
|||||||
Result := Types.Size(0, 0);
|
Result := Types.Size(0, 0);
|
||||||
end;
|
end;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
*)
|
||||||
|
|
||||||
function TCustomShellTreeView.GetPathFromNode(ANode: TTreeNode): string;
|
function TCustomShellTreeView.GetPathFromNode(ANode: TTreeNode): string;
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user