Author: jimtabor
Date: Sat Nov 7 21:41:42 2015
New Revision: 69842
URL:
http://svn.reactos.org/svn/reactos?rev=69842&view=rev
Log:
[Win32k]
- Fix arrows on owner drawn menu bars. See CORE-6320 and CORE-9386.
Modified:
trunk/reactos/win32ss/user/ntuser/menu.c
Modified: trunk/reactos/win32ss/user/ntuser/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/menu.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/menu.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/menu.c [iso-8859-1] Sat Nov 7 21:41:42 2015
@@ -2291,7 +2291,7 @@
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));