mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 00:43:21 +00:00
[Win32k]
- Fix arrows on owner drawn menu bars. See CORE-6320 and CORE-9386. svn path=/trunk/; revision=69842
This commit is contained in:
parent
3a42dbb92a
commit
29d481611e
|
@ -2291,7 +2291,7 @@ static void FASTCALL MENU_DrawMenuItem(PWND Wnd, PMENU Menu, PWND WndOwner, HDC
|
|||
TRACE("Ownerdraw: Width %d Height %d\n", dis.rcItem.right-dis.rcItem.left, dis.rcItem.bottom-dis.rcItem.top);
|
||||
co_IntSendMessage(UserHMGetHandle(WndOwner), WM_DRAWITEM, 0, (LPARAM) &dis);
|
||||
/* Draw the popup-menu arrow */
|
||||
if (lpitem->spSubMenu)
|
||||
if (!menuBar && lpitem->spSubMenu)
|
||||
{
|
||||
RECT rectTemp;
|
||||
RtlCopyMemory(&rectTemp, &rect, sizeof(RECT));
|
||||
|
|
Loading…
Reference in a new issue