lcl: draw hintwindow with themes if color = clDefault

git-svn-id: trunk@25426 -
This commit is contained in:
paul 2010-05-15 15:07:30 +00:00
parent 112777a442
commit 1b38c456a8

View File

@ -127,7 +127,7 @@ var
Details: TThemedElementDetails;
begin
ARect := ClientRect;
if Color = clInfoBk then // draw using themes
if (Color = clInfoBk) or (Color = clDefault) then // draw using themes
begin
Details := ThemeServices.GetElementDetails(tttStandardLink);
ThemeServices.DrawElement(Canvas.Handle, Details, ARect);