comctl32/tests: LVM_GETRECTITEM should return TRUE.

This commit is contained in:
Austin Lund 2010-09-22 16:28:30 +10:00 committed by Alexandre Julliard
parent 04607ca632
commit 3836e62ed8
1 changed files with 2 additions and 1 deletions

View File

@ -3278,7 +3278,8 @@ static void test_getitemrect(void)
r = SendMessage(hwnd, LVM_INSERTITEMA, 0, (LPARAM)&item); r = SendMessage(hwnd, LVM_INSERTITEMA, 0, (LPARAM)&item);
expect(0, r); expect(0, r);
rect.left = LVIR_LABEL; rect.left = LVIR_LABEL;
SendMessage(hwnd, LVM_GETITEMRECT, 0, (LPARAM)&rect); r = SendMessage(hwnd, LVM_GETITEMRECT, 0, (LPARAM)&rect);
expect(TRUE, r);
expect(0, rect.left); expect(0, rect.left);
expect(0, rect.top); expect(0, rect.top);
todo_wine expect(96, rect.right); todo_wine expect(96, rect.right);