comctl32: rebar: Invalidate children in CalcHorz/VertBand.
This commit is contained in:
parent
480c0d7215
commit
bc0fe1bd8e
|
@ -796,6 +796,7 @@ REBAR_CalcHorzBand (const REBAR_INFO *infoPtr, UINT rstart, UINT rend)
|
||||||
work.right += SEP_WIDTH;
|
work.right += SEP_WIDTH;
|
||||||
work.bottom += SEP_WIDTH;
|
work.bottom += SEP_WIDTH;
|
||||||
InvalidateRect(infoPtr->hwndSelf, &work, TRUE);
|
InvalidateRect(infoPtr->hwndSelf, &work, TRUE);
|
||||||
|
InvalidateRect(lpBand->hwndChild, NULL, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -916,6 +917,7 @@ REBAR_CalcVertBand (const REBAR_INFO *infoPtr, UINT rstart, UINT rend)
|
||||||
work.bottom += SEP_WIDTH;
|
work.bottom += SEP_WIDTH;
|
||||||
work.right += SEP_WIDTH;
|
work.right += SEP_WIDTH;
|
||||||
InvalidateRect(infoPtr->hwndSelf, &work, TRUE);
|
InvalidateRect(infoPtr->hwndSelf, &work, TRUE);
|
||||||
|
InvalidateRect(lpBand->hwndChild, NULL, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2788,7 +2790,6 @@ REBAR_SizeToRect (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
TRACE("[%s]\n", wine_dbgstr_rect(lpRect));
|
TRACE("[%s]\n", wine_dbgstr_rect(lpRect));
|
||||||
REBAR_SizeToHeight(infoPtr, get_rect_cy(infoPtr, lpRect));
|
REBAR_SizeToHeight(infoPtr, get_rect_cy(infoPtr, lpRect));
|
||||||
InvalidateRect (infoPtr->hwndSelf, NULL, TRUE);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue