mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:46:29 +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
1 changed files with 1 additions and 5 deletions
|
@ -4068,13 +4068,9 @@ DrawMenuBar(HWND hWnd)
|
||||||
MenuGetRosMenuInfo(&MenuInfo, hMenu);
|
MenuGetRosMenuInfo(&MenuInfo, hMenu);
|
||||||
MenuInfo.Height = 0; // make sure to recalc size
|
MenuInfo.Height = 0; // make sure to recalc size
|
||||||
MenuSetRosMenuInfo(&MenuInfo);
|
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 |
|
SetWindowPos( hWnd, 0, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE |
|
||||||
SWP_NOZORDER | SWP_FRAMECHANGED );
|
SWP_NOZORDER | SWP_FRAMECHANGED );
|
||||||
return TRUE;*/
|
|
||||||
// FIXME: hackfix
|
|
||||||
DefWndNCPaint(hWnd,(HRGN)-1,-1);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue