Dylan Smith : winhlp32: Invalidate scrollbar when changing pages.
Alexandre Julliard
julliard at winehq.org
Tue Mar 24 09:01:55 CDT 2009
Module: wine
Branch: master
Commit: 2592fea305c9876686c2e17711abbb8b2d90c2aa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2592fea305c9876686c2e17711abbb8b2d90c2aa
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Mon Mar 23 10:34:55 2009 -0400
winhlp32: Invalidate scrollbar when changing pages.
---
programs/winhlp32/winhelp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index b042a5a..bac416e 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -136,7 +136,7 @@ static void WINHELP_SetupText(HWND hTextWnd, WINHELP_WINDOW* win, ULONG relative
SendMessage(hTextWnd, EM_SETSCROLLPOS, 0, (LPARAM)&pt);
}
SendMessage(hTextWnd, WM_SETREDRAW, TRUE, 0);
- InvalidateRect(hTextWnd, NULL, TRUE);
+ RedrawWindow(hTextWnd, NULL, NULL, RDW_FRAME|RDW_INVALIDATE);
}
/***********************************************************************
More information about the wine-cvs
mailing list