mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 09:38:12 +02:00
win32: fix compilation after r57929 #e58e0a48d1
git-svn-id: trunk@57932 -
This commit is contained in:
parent
83cb5d2560
commit
c49ee01dbe
@ -45,8 +45,6 @@ type
|
||||
AContentRect: PRect = nil); override;
|
||||
procedure DrawIcon(DC: HDC; Details: TThemedElementDetails; const R: TRect;
|
||||
himl: HIMAGELIST; Index: Integer); override;
|
||||
procedure DrawIcon(ACanvas: TPersistent; Details: TThemedElementDetails;
|
||||
const P: TPoint; AImageList: TPersistent; Index: Integer); override;
|
||||
|
||||
procedure DrawText(DC: HDC; Details: TThemedElementDetails;
|
||||
const S: String; R: TRect; Flags, Flags2: Cardinal); override;
|
||||
@ -400,21 +398,6 @@ begin
|
||||
inherited;
|
||||
end;
|
||||
|
||||
procedure TWin32ThemeServices.DrawIcon(ACanvas: TPersistent;
|
||||
Details: TThemedElementDetails; const P: TPoint; AImageList: TPersistent;
|
||||
Index: Integer);
|
||||
{var
|
||||
ImageList: TCustomImageList absolute AImageList;
|
||||
}
|
||||
begin
|
||||
{ if ThemesEnabled then
|
||||
DrawIcon(TCanvas(ACanvas).Handle, Details,
|
||||
Rect(P.X, P.Y, P.X + ImageList.Width, P.Y + ImageList.Width),
|
||||
ImageList.Handle, Index)
|
||||
else}
|
||||
inherited;
|
||||
end;
|
||||
|
||||
function TWin32ThemeServices.HasTransparentParts(Details: TThemedElementDetails): Boolean;
|
||||
begin
|
||||
if ThemesEnabled then
|
||||
|
Loading…
Reference in New Issue
Block a user