comctl32/animate: Don't repaint when handling WM_STYLECHANGED.

This commit is contained in:
Zhiyi Zhang 2022-10-17 16:11:57 +08:00 committed by Alexandre Julliard
parent c54e0d93d9
commit 07685c37aa
2 changed files with 1 additions and 3 deletions

View file

@ -866,8 +866,6 @@ static LRESULT ANIMATE_StyleChanged(ANIMATE_INFO *infoPtr, WPARAM wStyleType, co
if (wStyleType != GWL_STYLE) return 0;
infoPtr->dwStyle = lpss->styleNew;
InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
return 0;
}

View file

@ -1086,7 +1086,7 @@ static void test_WM_STYLECHANGED(void)
}
tests[] =
{
{ANIMATE_CLASSA, wm_stylechanged_seq, TRUE},
{ANIMATE_CLASSA, wm_stylechanged_seq},
{WC_BUTTONA, wm_stylechanged_seq},
{WC_COMBOBOXA, wm_stylechanged_combox_seq, TRUE},
{WC_COMBOBOXEXA, wm_stylechanged_seq},