Menu designer: Use theme for Selected state.

git-svn-id: trunk@55223 -
This commit is contained in:
juha 2017-06-04 21:52:33 +00:00
parent 4bd30e3b00
commit 6e54b75e26

View File

@ -2276,6 +2276,7 @@ var
InflateRect(r, 1, 0); // hack needed only on Windows?
case FState of
dsNormal: dets:=ThemeServices.GetElementDetails(tmBarBackgroundActive);
dsSelected: dets:=ThemeServices.GetElementDetails(tmBarItemPushed);
dsDisabled: dets:=ThemeServices.GetElementDetails(tmBarItemDisabled);
end;
ThemeServices.DrawElement(Canvas.Handle, dets, r);