Fixes a bug where the statusbar doesn't correctly paint when the parent window is resized. This can be seen in wine notepad.
-- v6: comctl32/status: Invalidate entire status bar on WM_SIZE.
From: Jacob Czekalla jacobczekalla@gmail.com
--- dlls/comctl32/status.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c index 5251f3677b0..3e1bc4902ff 100644 --- a/dlls/comctl32/status.c +++ b/dlls/comctl32/status.c @@ -1068,8 +1068,9 @@ STATUSBAR_WMSize (STATUS_INFO *infoPtr, WORD flags) width = parent_rect.right - parent_rect.left; x = parent_rect.left; y = parent_rect.bottom - infoPtr->height; - MoveWindow (infoPtr->Self, x, y, width, infoPtr->height, TRUE); + MoveWindow(infoPtr->Self, x, y, width, infoPtr->height, FALSE); STATUSBAR_SetPartBounds (infoPtr); + InvalidateRect(infoPtr->Self, NULL, FALSE); return TRUE; }
This merge request was approved by Zhiyi Zhang.
Thank you for your time. It was very helpful and I hope I can continue to contribute wine.
This merge request was approved by Nikolay Sivov.