Author: weiden Date: Fri Nov 16 02:00:01 2007 New Revision: 30486
URL: http://svn.reactos.org/svn/reactos?rev=30486&view=rev Log: Change call to NtUserGetWindowLong to GetWindowLong in EnableWindow
Modified: trunk/reactos/dll/win32/user32/windows/input.c
Modified: trunk/reactos/dll/win32/user32/windows/input.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/in... ============================================================================== --- trunk/reactos/dll/win32/user32/windows/input.c (original) +++ trunk/reactos/dll/win32/user32/windows/input.c Fri Nov 16 02:00:01 2007 @@ -109,7 +109,7 @@ 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) )