ui/win32/button.c

changeset 1034
330b415910bd
parent 938
be4c88ded783
equal deleted inserted replaced
1033:eda1ff20cb27 1034:330b415910bd
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