mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 10:39:20 +02:00
win32: don't draw standard menu item bg for separator items on vista/w7
git-svn-id: trunk@20632 -
This commit is contained in:
parent
d9ddfb1c28
commit
26309ffc92
@ -656,8 +656,6 @@ begin
|
||||
end;
|
||||
Tmp := ThemeServices.GetElementDetails(tmPopupGutter);
|
||||
ThemeServices.DrawElement(AHDC, Tmp, GutterRect, nil);
|
||||
// draw menu item
|
||||
ThemeServices.DrawElement(AHDC, Details, ARect, nil);
|
||||
|
||||
if AMenuItem.IsLine then
|
||||
begin
|
||||
@ -679,6 +677,8 @@ begin
|
||||
end
|
||||
else
|
||||
begin
|
||||
// draw menu item
|
||||
ThemeServices.DrawElement(AHDC, Details, ARect, nil);
|
||||
// draw check/image
|
||||
if AMenuItem.HasIcon then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user