ui/motif/button.c

changeset 1016
ccde46662db7
parent 967
ff4a8d10307b
--- a/ui/motif/button.c	Wed Dec 17 18:31:20 2025 +0100
+++ b/ui/motif/button.c	Thu Dec 18 17:50:15 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