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 = &infoPtr->items[*order++];
|
||||||
lpItem->iOrder=i;
|
lpItem->iOrder=i;
|
||||||
}
|
}
|
||||||
infoPtr->bRectsValid=0;
|
HEADER_SetItemBounds(infoPtr);
|
||||||
InvalidateRect(infoPtr->hwndSelf, NULL, FALSE);
|
InvalidateRect(infoPtr->hwndSelf, NULL, FALSE);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@ -1175,7 +1175,7 @@ static void test_hdm_index_messages(HWND hParent)
|
|||||||
rect.left = 0;
|
rect.left = 0;
|
||||||
retVal = SendMessage(hChild, HDM_GETITEMRECT, 0, (LPARAM) &rect);
|
retVal = SendMessage(hChild, HDM_GETITEMRECT, 0, (LPARAM) &rect);
|
||||||
expect(TRUE, retVal);
|
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);
|
flush_sequences(sequences, NUM_MSG_SEQUENCES);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user