Commit 8b5231df authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Windows must update the right edge (-1) of the last panel upon drawing

instead of relying on WM_SIZE.
parent 19f83e2f
......@@ -33,6 +33,9 @@ DEFAULT_DEBUG_CHANNEL(statusbar)
#define STATUSBAR_GetInfoPtr(hwnd) ((STATUSWINDOWINFO *)GetWindowLongA (hwnd, 0))
/* prototype */
static void
STATUSBAR_SetPartBounds (HWND hwnd);
static void
STATUSBAR_DrawSizeGrip (HDC hdc, LPRECT lpRect)
......@@ -174,6 +177,8 @@ STATUSBAR_Refresh (HWND hwnd, HDC hdc)
if (!IsWindowVisible(hwnd))
return (TRUE);
STATUSBAR_SetPartBounds(hwnd);
GetClientRect (hwnd, &rect);
if (infoPtr->clrBk != CLR_DEFAULT)
......
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