ui/win32/button.c

changeset 118
6d0da97105d8
parent 115
e57ca2747782
equal deleted inserted replaced
117:b174e721663e 118:6d0da97105d8
240 // The first radiobutton, which binds to this var, creates the CxList 240 // The first radiobutton, which binds to this var, creates the CxList
241 CxList *group = NULL; 241 CxList *group = NULL;
242 if (i->obj) { 242 if (i->obj) {
243 group = i->obj; 243 group = i->obj;
244 } else { 244 } else {
245 group = cxArrayListCreate(obj->ctx->allocator, NULL, CX_STORE_POINTERS, 8); 245 group = cxArrayListCreate(obj->ctx->allocator, CX_STORE_POINTERS, 8);
246 i->obj = group; 246 i->obj = group;
247 } 247 }
248 248
249 cxListAdd(group, btn); 249 cxListAdd(group, btn);
250 if (i->value == cxListSize(group)) { 250 if (i->value == cxListSize(group)) {

mercurial