mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user