Author: tkreuzer
Date: Sun Jan 11 20:10:58 2009
New Revision: 38716
URL:
http://svn.reactos.org/svn/reactos?rev=38716&view=rev
Log:
reduce diff to wine
Modified:
trunk/reactos/dll/win32/user32/windows/mdi.c
Modified: trunk/reactos/dll/win32/user32/windows/mdi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/mdi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/mdi.c [iso-8859-1] Sun Jan 11 20:10:58 2009
@@ -1188,11 +1188,7 @@
return 0;
case WM_MDIDESTROY:
-#ifndef __REACTOS__
- return MDIDestroyChild( hwnd, ci, WIN_GetFullHandle( (HWND)wParam ), TRUE );
-#else
return MDIDestroyChild( hwnd, ci, (HWND)wParam, TRUE );
-#endif
case WM_MDIGETACTIVE:
if (lParam) *(BOOL *)lParam = IsZoomed(ci->hwndActiveChild);
return (LRESULT)ci->hwndActiveChild;
@@ -1210,11 +1206,7 @@
case WM_MDINEXT: /* lParam != 0 means previous window */
{
-#ifndef __REACTOS__
- HWND next = MDI_GetWindow( ci, WIN_GetFullHandle( (HWND)wParam ), !lParam, 0 );
-#else
HWND next = MDI_GetWindow( ci, (HWND)wParam, !lParam, 0 );
-#endif
MDI_SwitchActiveChild( ci, next, TRUE );
break;
}
@@ -1483,9 +1475,7 @@
MDICLIENTINFO *ci = get_client_info( client );
TRACE("%p %04x (%s) %08lx %08lx\n", hwnd, message, SPY_GetMsgName(message,
hwnd), wParam, lParam);
-#ifndef __REACTOS__
hwnd = WIN_GetFullHandle( hwnd );
-#endif
if (!ci) return DefWindowProcA( hwnd, message, wParam, lParam );
switch (message)
@@ -1526,9 +1516,7 @@
MDICLIENTINFO *ci = get_client_info( client );
TRACE("%p %04x (%s) %08lx %08lx\n", hwnd, message, SPY_GetMsgName(message,
hwnd), wParam, lParam);
-#ifndef __REACTOS__
hwnd = WIN_GetFullHandle( hwnd );
-#endif
if (!ci) return DefWindowProcW( hwnd, message, wParam, lParam );
switch (message)