shell32: Use wine_dbgstr_rect() to trace RECTs.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Michael Stefaniuc 2016-04-21 10:58:01 +02:00 committed by Alexandre Julliard
parent 69f6493a8c
commit 816df88a77
1 changed files with 3 additions and 3 deletions

View File

@ -633,7 +633,7 @@ LRESULT WINAPI FileMenu_DrawItem(
Shell_GetImageLists(0, &hImageList);
ImageList_Draw(hImageList, pMyItem->iIconIndex, lpdis->hDC, xi, yi, ILD_NORMAL);
TRACE("-- 0x%04x 0x%04x 0x%04x 0x%04x\n", TextRect.left, TextRect.top, TextRect.right, TextRect.bottom);
TRACE("-- %s\n", wine_dbgstr_rect(&TextRect));
SetTextColor(lpdis->hDC, clrPrevText);
SetBkColor(lpdis->hDC, clrPrevBkgnd);
@ -794,8 +794,8 @@ DWORD WINAPI FileMenu_GetItemExtent (HMENU hMenu, UINT uPos)
FIXME("%p 0x%08x\n", hMenu, uPos);
if (GetMenuItemRect(0, hMenu, uPos, &rect))
{ FIXME("0x%04x 0x%04x 0x%04x 0x%04x\n",
rect.right, rect.left, rect.top, rect.bottom);
{
FIXME("%s\n", wine_dbgstr_rect(&rect));
return ((rect.right-rect.left)<<16) + (rect.top-rect.bottom);
}
return 0x00100010; /*FIXME*/