comctl32/header: Always update rectangles after HDM_SETORDERARRAY.
This commit is contained in:
parent
67d2292b00
commit
a18886e5c2
|
@ -1210,7 +1210,7 @@ HEADER_SetOrderArray(HEADER_INFO *infoPtr, INT size, const INT *order)
|
|||
lpItem = &infoPtr->items[*order++];
|
||||
lpItem->iOrder=i;
|
||||
}
|
||||
infoPtr->bRectsValid=0;
|
||||
HEADER_SetItemBounds(infoPtr);
|
||||
InvalidateRect(infoPtr->hwndSelf, NULL, FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -1175,7 +1175,7 @@ static void test_hdm_index_messages(HWND hParent)
|
|||
rect.left = 0;
|
||||
retVal = SendMessage(hChild, HDM_GETITEMRECT, 0, (LPARAM) &rect);
|
||||
expect(TRUE, retVal);
|
||||
todo_wine ok(rect.left != 0, "Expected updated rectangle\n");
|
||||
ok(rect.left != 0, "Expected updated rectangle\n");
|
||||
|
||||
flush_sequences(sequences, NUM_MSG_SEQUENCES);
|
||||
|
||||
|
|
Loading…
Reference in New Issue