mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 19:47:14 +00:00
[USER32]
Patch by Benedikt Freisen: Fix wrong vertical position when painting 3D bottom line in menus. See issue #4906 for more details. svn path=/trunk/; revision=47260
This commit is contained in:
parent
d30bfb803d
commit
eaa70d8318
1 changed files with 2 additions and 2 deletions
|
@ -2206,8 +2206,8 @@ DrawMenuBarTemp(HWND Wnd, HDC DC, LPRECT Rect, HMENU Menu, HFONT Font)
|
|||
|
||||
SelectObject(DC, GetStockObject(DC_PEN));
|
||||
SetDCPenColor(DC, GetSysColor(COLOR_3DFACE));
|
||||
MoveToEx(DC, Rect->left, Rect->bottom, NULL);
|
||||
LineTo(DC, Rect->right, Rect->bottom);
|
||||
MoveToEx(DC, Rect->left, Rect->bottom - 1, NULL);
|
||||
LineTo(DC, Rect->right, Rect->bottom - 1);
|
||||
|
||||
if (0 == MenuInfo.MenuItemCount)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue