mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 23:58:06 +02:00
Menu designer: Use theme for Selected state.
git-svn-id: trunk@55223 -
This commit is contained in:
parent
4bd30e3b00
commit
6e54b75e26
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user