From 38d979cc6ca3f2f4bc79f9af2d2d0a0337046897 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 15 Nov 2007 23:00:01 +0000 Subject: [PATCH] Change call to NtUserGetWindowLong to GetWindowLong in EnableWindow svn path=/trunk/; revision=30486 --- reactos/dll/win32/user32/windows/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/user32/windows/input.c b/reactos/dll/win32/user32/windows/input.c index 4257d41c50d..ee8a90d050f 100644 --- a/reactos/dll/win32/user32/windows/input.c +++ b/reactos/dll/win32/user32/windows/input.c @@ -109,7 +109,7 @@ BOOL STDCALL EnableWindow(HWND hWnd, BOOL bEnable) { - LONG Style = NtUserGetWindowLong(hWnd, GWL_STYLE, FALSE); + LONG Style = GetWindowLongW(hWnd, GWL_STYLE); /* check if updating is needed */ UINT bIsDisabled = (Style & WS_DISABLED); if ( (bIsDisabled && bEnable) || (!bIsDisabled && !bEnable) )