- Fix the double scrollbars in explorer

svn path=/trunk/; revision=57663
This commit is contained in:
Giannis Adamopoulos 2012-11-01 17:28:52 +00:00
parent 8ba1ca638e
commit dd46d43734

View file

@ -1604,8 +1604,8 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
#ifndef __REACTOS__ #ifndef __REACTOS__
case WM_SETVISIBLE: case WM_SETVISIBLE:
#endif #endif
if (ci->hwndChildMaximized) ci->mdiFlags &= ~MDIF_NEEDUPDATE; /*if (ci->hwndChildMaximized) ci->mdiFlags &= ~MDIF_NEEDUPDATE;
else MDI_PostUpdate(client, ci, SB_BOTH+1); else*/ MDI_PostUpdate(client, ci, SB_BOTH+1);
break; break;
case WM_SIZE: case WM_SIZE:
@ -1843,7 +1843,6 @@ void WINAPI CalcChildScroll( HWND hwnd, INT scroll )
} }
HeapFree( GetProcessHeap(), 0, list ); HeapFree( GetProcessHeap(), 0, list );
} }
MapWindowPoints( 0, hwnd, (POINT *)&childRect, 2 );
UnionRect( &childRect, &clientRect, &childRect ); UnionRect( &childRect, &clientRect, &childRect );
/* set common info values */ /* set common info values */