Draw the focus rectangle for buttons with BS_3STATE, BS_RADIOBUTTON,
BS_CHECKBOX, BS_AUTO* styles.
This commit is contained in:
parent
fd24362356
commit
3cee09c0fc
|
@ -718,7 +718,6 @@ static void CB_Paint( WND *wndPtr, HDC hDC, WORD action )
|
||||||
SetTextColor( hDC, GetSysColor(COLOR_GRAYTEXT) );
|
SetTextColor( hDC, GetSysColor(COLOR_GRAYTEXT) );
|
||||||
DrawTextA( hDC, wndPtr->text, textlen, &rtext,
|
DrawTextA( hDC, wndPtr->text, textlen, &rtext,
|
||||||
DT_SINGLELINE | DT_VCENTER );
|
DT_SINGLELINE | DT_VCENTER );
|
||||||
textlen = 0; /* skip DrawText() below */
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue