[Win32k]
authorJames Tabor <james.tabor@reactos.org>
Sat, 7 Nov 2015 21:41:42 +0000 (21:41 +0000)
committerJames Tabor <james.tabor@reactos.org>
Sat, 7 Nov 2015 21:41:42 +0000 (21:41 +0000)
- Fix arrows on owner drawn menu bars. See CORE-6320 and CORE-9386.

svn path=/trunk/; revision=69842

reactos/win32ss/user/ntuser/menu.c

index cba470f..76ba92a 100644 (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));