Fixed wParam in WM_ENABLE ScrollBarWndProc.
Modified: trunk/reactos/lib/user32/controls/scrollbar.c
_____
Modified: trunk/reactos/lib/user32/controls/scrollbar.c
--- trunk/reactos/lib/user32/controls/scrollbar.c 2005-07-15
01:42:22 UTC (rev 16571)
+++ trunk/reactos/lib/user32/controls/scrollbar.c 2005-07-15
02:16:12 UTC (rev 16572)
@@ -1273,7 +1273,7 @@
// SCROLL_RefreshScrollBar(hwnd, SB_CTL, TRUE, TRUE);
// }
DbgPrint("ScrollBarWndProc WM_ENABLE\n");
- NtUserEnableScrollBar(Wnd,SB_CTL,wParam);
+ NtUserEnableScrollBar(Wnd,SB_CTL,(wParam ? ESB_ENABLE_BOTH :
ESB_DISABLE_BOTH));
/* Refresh Scrollbars. */
HDC hdc = GetDCEx( Wnd, 0, DCX_CACHE | SB_CTL );
if (!hdc) return 1;