Commit 5267d32d authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

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

parent 07685c37
......@@ -1528,8 +1528,6 @@ DATETIME_StyleChanged(DATETIME_INFO *infoPtr, WPARAM wStyleType, const STYLESTRU
DestroyWindow(infoPtr->hUpdown);
infoPtr->hUpdown = 0;
}
InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
return 0;
}
......
......@@ -1090,7 +1090,7 @@ static void test_WM_STYLECHANGED(void)
{WC_BUTTONA, wm_stylechanged_seq},
{WC_COMBOBOXA, wm_stylechanged_combox_seq, TRUE},
{WC_COMBOBOXEXA, wm_stylechanged_seq},
{DATETIMEPICK_CLASSA, wm_stylechanged_seq, TRUE},
{DATETIMEPICK_CLASSA, wm_stylechanged_seq},
{WC_EDITA, wm_stylechanged_seq},
{WC_HEADERA, wm_stylechanged_repaint_seq, TRUE},
{HOTKEY_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