Change call to NtUserGetWindowLong to GetWindowLong in EnableWindow
authorThomas Bluemel <thomas@reactsoft.com>
Thu, 15 Nov 2007 23:00:01 +0000 (23:00 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Thu, 15 Nov 2007 23:00:01 +0000 (23:00 +0000)
svn path=/trunk/; revision=30486

reactos/dll/win32/user32/windows/input.c

index 4257d41..ee8a90d 100644 (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) )