From 3cee09c0fc6f1527ff7e26a30e3eb906c192f9b5 Mon Sep 17 00:00:00 2001 From: Abey George Date: Sat, 11 Sep 1999 16:22:10 +0000 Subject: [PATCH] Draw the focus rectangle for buttons with BS_3STATE, BS_RADIOBUTTON, BS_CHECKBOX, BS_AUTO* styles. --- controls/button.c | 1 - 1 file changed, 1 deletion(-) diff --git a/controls/button.c b/controls/button.c index 8c4317966ce..29e5052386e 100644 --- a/controls/button.c +++ b/controls/button.c @@ -718,7 +718,6 @@ static void CB_Paint( WND *wndPtr, HDC hDC, WORD action ) SetTextColor( hDC, GetSysColor(COLOR_GRAYTEXT) ); DrawTextA( hDC, wndPtr->text, textlen, &rtext, DT_SINGLELINE | DT_VCENTER ); - textlen = 0; /* skip DrawText() below */ } } }