From 70668524384eab423a41b1d68bfccfad43ff70fe Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 23 Feb 2011 19:21:33 +0000 Subject: [PATCH] =?UTF-8?q?[USER32]=20Patch=20by=20Rafa=C5=82=20Harabie?= =?UTF-8?q?=C5=84=20:=20-=20remove=20a=20hack=20in=20DrawMenuBar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See issue #5949 for more details. svn path=/trunk/; revision=50882 --- reactos/dll/win32/user32/windows/menu.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/reactos/dll/win32/user32/windows/menu.c b/reactos/dll/win32/user32/windows/menu.c index 4bdfce8e2af..768cf65c3f3 100644 --- a/reactos/dll/win32/user32/windows/menu.c +++ b/reactos/dll/win32/user32/windows/menu.c @@ -4068,13 +4068,9 @@ DrawMenuBar(HWND hWnd) MenuGetRosMenuInfo(&MenuInfo, hMenu); MenuInfo.Height = 0; // make sure to recalc size MenuSetRosMenuInfo(&MenuInfo); - /* The wine method doesn't work and I suspect it's more effort - then hackfix solution + SetWindowPos( hWnd, 0, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED ); - return TRUE;*/ - // FIXME: hackfix - DefWndNCPaint(hWnd,(HRGN)-1,-1); return TRUE; }