mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix GetDlgItem()
svn path=/trunk/; revision=6100
This commit is contained in:
parent
04b9e7234a
commit
0504e0cffa
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: dialog.c,v 1.17 2003/08/30 18:38:08 weiden Exp $
|
||||
/* $Id: dialog.c,v 1.18 2003/09/20 19:24:11 gvg Exp $
|
||||
*
|
||||
* PROJECT: ReactOS user32.dll
|
||||
* FILE: lib/user32/windows/dialog.c
|
||||
|
@ -1699,7 +1699,7 @@ GetDlgItem(
|
|||
GETDLGITEMINFO info;
|
||||
info.nIDDlgItem = nIDDlgItem;
|
||||
info.control = 0;
|
||||
if(hDlg && !EnumChildWindows(hDlg, (ENUMWINDOWSPROC)&GetDlgItemEnumProc, (LPARAM)&info))
|
||||
if(hDlg && EnumChildWindows(hDlg, (ENUMWINDOWSPROC)&GetDlgItemEnumProc, (LPARAM)&info))
|
||||
return info.control;
|
||||
else
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue