Commit b7624fb4 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

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

parent ff514c11
......@@ -3247,7 +3247,6 @@ static INT TAB_StyleChanged(TAB_INFO *infoPtr, WPARAM wStyleType,
infoPtr->dwStyle = lpss->styleNew;
TAB_SetItemBounds (infoPtr);
InvalidateRect(infoPtr->hwnd, NULL, TRUE);
return 0;
}
......
......@@ -1105,7 +1105,7 @@ static void test_WM_STYLECHANGED(void)
{WC_STATICA, wm_stylechanged_seq},
{STATUSCLASSNAMEA, wm_stylechanged_seq},
{"SysLink", wm_stylechanged_seq},
{WC_TABCONTROLA, wm_stylechanged_seq, TRUE},
{WC_TABCONTROLA, wm_stylechanged_seq},
{TOOLBARCLASSNAMEA, wm_stylechanged_seq},
{TOOLTIPS_CLASSA, wm_stylechanged_seq},
{TRACKBAR_CLASSA, wm_stylechanged_trackbar_seq, TRUE},
......
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