From 6952a4bc36458ea18e21c3d9a5fa2f16cec9731e Mon Sep 17 00:00:00 2001 From: Richard Campbell Date: Tue, 18 Mar 2003 06:46:10 +0000 Subject: [PATCH] Implemented GetParent() svn path=/trunk/; revision=4334 --- reactos/lib/user32/windows/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/user32/windows/window.c b/reactos/lib/user32/windows/window.c index 4b642f2a0cf..fd1d8064fc0 100644 --- a/reactos/lib/user32/windows/window.c +++ b/reactos/lib/user32/windows/window.c @@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.23 2003/03/18 06:44:11 rcampbell Exp $ +/* $Id: window.c,v 1.24 2003/03/18 06:46:10 rcampbell Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS user32.dll @@ -611,7 +611,7 @@ GetLastActivePopup(HWND hWnd) HWND STDCALL GetParent(HWND hWnd) { - return (HWND)0; + return NtUserGetAncestor(hWnd, GA_PARENT); } WINBOOL STDCALL