Change call to NtUserGetWindowLong to GetWindowLong in EnableWindow

svn path=/trunk/; revision=30486
This commit is contained in:
Thomas Bluemel 2007-11-15 23:00:01 +00:00
parent 30f2c8cc1c
commit 38d979cc6c

View file

@ -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) )