Bottom of button should be rbox.top + checkBoxHeight.

This commit is contained in:
Ulrich Czekalla 2004-08-16 20:00:41 +00:00 committed by Alexandre Julliard
parent 65e4823410
commit fe711b224e
1 changed files with 1 additions and 1 deletions

View File

@ -872,7 +872,7 @@ static void CB_Paint( HWND hwnd, HDC hDC, UINT action )
rbox.bottom = rbox.top + checkBoxHeight; rbox.bottom = rbox.top + checkBoxHeight;
} else { } else {
rbox.top -= -delta/2 + 1; rbox.top -= -delta/2 + 1;
rbox.bottom += rbox.top + checkBoxHeight; rbox.bottom = rbox.top + checkBoxHeight;
} }
} else if (style & BS_BOTTOM) { } else if (style & BS_BOTTOM) {
if (delta > 0) { if (delta > 0) {