| 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)) { |