mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
comctl32/animate: Don't repaint when handling WM_STYLECHANGED.
This commit is contained in:
parent
c54e0d93d9
commit
07685c37aa
2 changed files with 1 additions and 3 deletions
|
@ -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},
|
||||
|
|
Loading…
Reference in a new issue