From cbf38bc8319b963f82af544bccca96ec0b2b396d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 20 Oct 2000 14:45:16 +0000 Subject: [PATCH] Add the LBS_NOTIFY style to the list box in colouredit(), which was vital to it working right [originally from svn r730] --- winctrls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winctrls.c b/winctrls.c index f214a2a2..9ed6a544 100644 --- a/winctrls.c +++ b/winctrls.c @@ -646,7 +646,7 @@ void colouredit(struct ctlpos *cp, char *stext, int sid, int listid, r.right = lwid; r.bottom = LISTHEIGHT; doctl(cp, r, "LISTBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | LBS_HASSTRINGS | - LBS_USETABSTOPS, + LBS_USETABSTOPS | LBS_NOTIFY, WS_EX_CLIENTEDGE, "", listid);