http://bugs.winehq.org/show_bug.cgi?id=13350
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |user32
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2008-05-23 10:58:03 --- It's a bug in user32 in the menu drawing code. Now if I can only figure it out...
The following hack fixes it, but I doubt it's a proper fix: diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c index 49de5e1..ebfcd01 100644 --- a/dlls/user32/menu.c +++ b/dlls/user32/menu.c @@ -1601,9 +1601,6 @@ static void MENU_DrawMenuItem( HWND hwnd DT_CENTER | DT_VCENTER | DT_SINGLELINE : DT_LEFT | DT_VCENTER | DT_SINGLELINE;
- if( !(menu->dwStyle & MNS_CHECKORBMP)) - rect.left += menu->maxBmpSize.cx; - if ( lpitem->fState & MFS_DEFAULT ) { hfontOld = SelectObject( hdc, get_menu_font(TRUE) );