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:
Timo Kreuzer 2011-02-23 19:21:33 +00:00
parent ab7f1c1255
commit 7066852438

View file

@ -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;
}