http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc2f7fc
)
Fix eterbug #846
author
Anatoly Lyutin
<vostok@etersoft.ru>
Mon, 28 Apr 2008 12:27:12 +0000
(16:27 +0400)
committer
Konstantin Kondratyuk
<kondratyuk@etersoft.ru>
Mon, 28 Apr 2008 12:27:12 +0000
(16:27 +0400)
dlls/user32/dialog.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/user32/dialog.c
b/dlls/user32/dialog.c
index a9867c644feb84f4c568ade0c483e3a0207e4f33..0fccc38f81d1999b71d49739ef3a9b545fd7f6c9 100644
(file)
--- a/
dlls/user32/dialog.c
+++ b/
dlls/user32/dialog.c
@@
-1183,9
+1183,9
@@
BOOL WINAPI IsDialogMessageW( HWND hwndDlg, LPMSG msg )
}
else if (DC_HASDEFID == HIWORD(dw = SendMessageW (hwndDlg, DM_GETDEFID, 0, 0)))
{
- HWND hwndDef = GetDlgItem(hwndDlg, LOWORD(dw));
+
/*
HWND hwndDef = GetDlgItem(hwndDlg, LOWORD(dw));
if (!hwndDef || !IsWindowEnabled(hwndDef))
- return TRUE;
+ return TRUE;
*/
SendMessageW( hwndDlg, WM_COMMAND, MAKEWPARAM( LOWORD(dw), BN_CLICKED ),
(LPARAM)GetDlgItem(hwndDlg, LOWORD(dw)));
}