Commit 5d8effce authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Use better dimensions for MDI system menu buttons to avoid MDI client

window resizing.
parent 5a86e5dc
......@@ -732,8 +732,8 @@ static void MENU_GetBitmapItemSize( UINT id, DWORD data, SIZE *size )
case (INT_PTR)HBMMENU_MBAR_MINIMIZE_D:
case (INT_PTR)HBMMENU_MBAR_CLOSE:
case (INT_PTR)HBMMENU_MBAR_CLOSE_D:
size->cx = GetSystemMetrics( SM_CXSIZE );
size->cy = GetSystemMetrics( SM_CYSIZE );
size->cx = GetSystemMetrics( SM_CYMENU ) - 4;
size->cy = size->cx;
return;
case (INT_PTR)HBMMENU_CALLBACK:
case (INT_PTR)HBMMENU_POPUP_CLOSE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment