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

comctl32: header: Update the rects in HEADER_Refresh if needed.

parent 02ca30e8
......@@ -539,6 +539,9 @@ HEADER_Refresh (HWND hwnd, HDC hdc)
INT x;
HTHEME theme = GetWindowTheme (hwnd);
if (!infoPtr->bRectsValid)
HEADER_SetItemBounds(hwnd);
/* get rect for the bar, adjusted for the border */
GetClientRect (hwnd, &rect);
......
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