mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
Change call to NtUserGetWindowLong to GetWindowLong in EnableWindow
svn path=/trunk/; revision=30486
This commit is contained in:
@@ -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) )
|
||||
|
||||
Reference in New Issue
Block a user