projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f2c8c
)
Change call to NtUserGetWindowLong to GetWindowLong in EnableWindow
author
Thomas Bluemel
<thomas@reactsoft.com>
Thu, 15 Nov 2007 23:00:01 +0000
(23:00 +0000)
committer
Thomas 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
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/user32/windows/input.c
b/reactos/dll/win32/user32/windows/input.c
index
4257d41
..
ee8a90d
100644
(file)
--- a/
reactos/dll/win32/user32/windows/input.c
+++ b/
reactos/dll/win32/user32/windows/input.c
@@
-109,7
+109,7
@@
BOOL STDCALL
EnableWindow(HWND hWnd,
BOOL bEnable)
{
- LONG Style =
NtUserGetWindowLong(hWnd, GWL_STYLE, FALS
E);
+ LONG Style =
GetWindowLongW(hWnd, GWL_STYL
E);
/* check if updating is needed */
UINT bIsDisabled = (Style & WS_DISABLED);
if ( (bIsDisabled && bEnable) || (!bIsDisabled && !bEnable) )