mirror of
https://github.com/reactos/reactos.git
synced 2024-08-25 20:58:53 +00:00
[USER32]
Patch by Rafał Harabień : - remove a hack in DrawMenuBar See issue #5949 for more details. svn path=/trunk/; revision=50882
This commit is contained in:
parent
ab7f1c1255
commit
7066852438
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue