user32: Fix DFC_BUTTONRADIOMASK flag support in DrawFrameControl.

This commit is contained in:
Piotr Caban 2011-11-03 15:10:41 +01:00 committed by Alexandre Julliard
parent 997cb5c675
commit 816802cb11
1 changed files with 2 additions and 0 deletions

View File

@ -792,6 +792,8 @@ static BOOL UITOOLS95_DFC_ButtonRadio(HDC dc, LPRECT r, UINT uFlags)
if((uFlags & 0xff) == DFCS_BUTTONRADIOIMAGE)
FillRect(dc, r, GetStockObject(BLACK_BRUSH));
else if((uFlags & 0xff) == DFCS_BUTTONRADIOMASK)
FillRect(dc, r, GetStockObject(WHITE_BRUSH));
xc = myr.left + SmallDiam - SmallDiam/2;
yc = myr.top + SmallDiam - SmallDiam/2;