ui/motif/button.c

changeset 117
b174e721663e
parent 115
e57ca2747782
--- a/ui/motif/button.c	Wed Dec 17 22:36:41 2025 +0100
+++ b/ui/motif/button.c	Sat Dec 27 22:47:56 2025 +0100
@@ -304,7 +304,7 @@
         if(!rb) {
             // first button in the radiobutton group
             // create a list for all buttons and use the list as value obj
-            rb = cxArrayListCreateSimple(CX_STORE_POINTERS, 4);
+            rb = cxArrayListCreate(NULL, CX_STORE_POINTERS, 4);
             value->obj = rb;
             value->get = ui_radiobutton_get;
             value->set = ui_radiobutton_set;
@@ -374,7 +374,7 @@
         if(!rb) {
             // first button in the radiobutton group
             // create a list for all buttons and use the list as value obj
-            rb = cxArrayListCreateSimple(CX_STORE_POINTERS, 4);
+            rb = cxArrayListCreate(NULL, CX_STORE_POINTERS, 4);
             value->obj = rb;
             value->get = ui_radiobutton_get;
             value->set = ui_radiobutton_set;

mercurial