- Fix arrows on owner drawn menu bars. See CORE-6320 and CORE-9386.

svn path=/trunk/; revision=69842
This commit is contained in:
James Tabor 2015-11-07 21:41:42 +00:00
parent 3a42dbb92a
commit 29d481611e

View file

@ -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));