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

This commit is contained in:
Zhiyi Zhang 2022-10-17 16:30:11 +08:00 committed by Alexandre Julliard
parent ff514c1104
commit b7624fb4ed
2 changed files with 1 additions and 2 deletions

View file

@ -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;
}

View file

@ -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},