Commit bc0fe1bd authored by Mikołaj Zalewski's avatar Mikołaj Zalewski Committed by Alexandre Julliard

comctl32: rebar: Invalidate children in CalcHorz/VertBand.

parent 480c0d72
...@@ -796,6 +796,7 @@ REBAR_CalcHorzBand (const REBAR_INFO *infoPtr, UINT rstart, UINT rend) ...@@ -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) ...@@ -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) ...@@ -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;
} }
......
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