Commit 07685c37 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

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

parent c54e0d93
......@@ -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;
}
......
......@@ -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},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment