From ecaf8b83f8227724e9f862a0a8f64e6004a63d56 Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 20 Aug 2014 12:18:27 +1000 Subject: Create a generic GWIN event. The frame now sends a GEVENT_GWIN_CLOSE event on closing. Unfortunately some gwin events have had a field renamed in order to generalise the structure. Demo's updated to match. --- src/gwin/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gwin/list.c') diff --git a/src/gwin/list.c b/src/gwin/list.c index 98ec2ed5..10926238 100644 --- a/src/gwin/list.c +++ b/src/gwin/list.c @@ -64,7 +64,7 @@ static void sendListEvent(GWidgetObject *gw, int item) { continue; ple->type = GEVENT_GWIN_LIST; - ple->list = (GHandle)gw; + ple->gwin = (GHandle)gw; ple->item = item; #if GWIN_WIDGET_TAGS ple->tag = gw->tag; -- cgit v1.2.3