mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 14:36:09 +02:00
win32: draw menubar with COLOR_MENU in case of non flat menus (bug #0017867)
git-svn-id: trunk@28270 -
This commit is contained in:
parent
650a8ad5d0
commit
f5461a5c18
@ -841,7 +841,7 @@ begin
|
||||
begin
|
||||
// 3d menu bar always have standard color
|
||||
if aIsInMenuBar then
|
||||
Result := GetSysColor(COLOR_3DFACE)
|
||||
Result := GetSysColor(COLOR_MENU)
|
||||
else
|
||||
if (ItemState and ODS_SELECTED) <> 0 then
|
||||
Result := GetSysColor(COLOR_HIGHLIGHT)
|
||||
|
Loading…
Reference in New Issue
Block a user