mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 13:19:20 +02:00
lcl: draw hintwindow with themes if color = clDefault
git-svn-id: trunk@25426 -
This commit is contained in:
parent
112777a442
commit
1b38c456a8
@ -127,7 +127,7 @@ var
|
|||||||
Details: TThemedElementDetails;
|
Details: TThemedElementDetails;
|
||||||
begin
|
begin
|
||||||
ARect := ClientRect;
|
ARect := ClientRect;
|
||||||
if Color = clInfoBk then // draw using themes
|
if (Color = clInfoBk) or (Color = clDefault) then // draw using themes
|
||||||
begin
|
begin
|
||||||
Details := ThemeServices.GetElementDetails(tttStandardLink);
|
Details := ThemeServices.GetElementDetails(tttStandardLink);
|
||||||
ThemeServices.DrawElement(Canvas.Handle, Details, ARect);
|
ThemeServices.DrawElement(Canvas.Handle, Details, ARect);
|
||||||
|
Loading…
Reference in New Issue
Block a user