mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
comctl32: Fix incorrect use of border metrics.
This commit is contained in:
parent
68f3d21f02
commit
2d8ad31e22
1 changed files with 2 additions and 2 deletions
|
@ -3066,8 +3066,8 @@ TOOLBAR_AutoSize (TOOLBAR_INFO *infoPtr)
|
|||
|
||||
if (infoPtr->dwStyle & WS_BORDER)
|
||||
{
|
||||
cy += 2 * GetSystemMetrics(SM_CXBORDER);
|
||||
cx += 2 * GetSystemMetrics(SM_CYBORDER);
|
||||
cx += 2 * GetSystemMetrics(SM_CXBORDER);
|
||||
cy += 2 * GetSystemMetrics(SM_CYBORDER);
|
||||
}
|
||||
|
||||
SetWindowPos(infoPtr->hwndSelf, NULL, x, y, cx, cy, uPosFlags);
|
||||
|
|
Loading…
Reference in a new issue