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

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

parent 5267d32d
......@@ -1676,11 +1676,7 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
case WM_STYLECHANGED:
if (wParam == GWL_STYLE)
{
infoPtr->Style = ((LPSTYLESTRUCT)lParam)->styleNew;
InvalidateRect(infoPtr->Self, NULL, TRUE);
}
return 0;
case WM_CREATE:
......
......@@ -1104,7 +1104,7 @@ static void test_WM_STYLECHANGED(void)
{REBARCLASSNAMEA, wm_stylechanged_seq},
{WC_STATICA, wm_stylechanged_seq},
{STATUSCLASSNAMEA, wm_stylechanged_seq},
{"SysLink", wm_stylechanged_seq, TRUE},
{"SysLink", wm_stylechanged_seq},
{WC_TABCONTROLA, wm_stylechanged_seq, TRUE},
{TOOLBARCLASSNAMEA, wm_stylechanged_seq},
{TOOLTIPS_CLASSA, 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