mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Change call to NtUserGetWindowLong to GetWindowLong in EnableWindow
svn path=/trunk/; revision=30486
This commit is contained in:
parent
30f2c8cc1c
commit
38d979cc6c
1 changed files with 1 additions and 1 deletions
|
@ -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) )
|
||||
|
|
Loading…
Reference in a new issue