comctl32: header: Update the rects in HEADER_Refresh if needed.
This commit is contained in:
parent
02ca30e8f9
commit
baea6498dd
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue