commit | 3cee09c0fc6f1527ff7e26a30e3eb906c192f9b5 | [log] [tgz] |
---|---|---|
author | Abey George <abey@macadamian.com> | Sat Sep 11 16:22:10 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sat Sep 11 16:22:10 1999 +0000 |
tree | c9e16cf5588cd042469efaa3df73477bdbdf3364 | |
parent | fd243623568673dc06e406f93e6064a369b64dba [diff] |
Draw the focus rectangle for buttons with BS_3STATE, BS_RADIOBUTTON, BS_CHECKBOX, BS_AUTO* styles.
diff --git a/controls/button.c b/controls/button.c index 8c43179..29e5052 100644 --- a/controls/button.c +++ b/controls/button.c
@@ -718,7 +718,6 @@ SetTextColor( hDC, GetSysColor(COLOR_GRAYTEXT) ); DrawTextA( hDC, wndPtr->text, textlen, &rtext, DT_SINGLELINE | DT_VCENTER ); - textlen = 0; /* skip DrawText() below */ } } }