# HG changeset patch # User Olaf Wintermann # Date 1766830158 -3600 # Node ID 4f94daefb4217544048bed6996eec5312b5b4660 # Parent 4f7e335a95cae7f464e15ce18901751dd7432f1a fix cocoa build diff -r 4f7e335a95ca -r 4f94daefb421 ui/cocoa/GridLayout.m --- a/ui/cocoa/GridLayout.m Fri Dec 26 10:19:17 2025 +0100 +++ b/ui/cocoa/GridLayout.m Sat Dec 27 11:09:18 2025 +0100 @@ -38,7 +38,7 @@ self = [super init]; _columnspacing = 0; _rowspacing = 0; - _children = cxArrayListCreateSimple(sizeof(GridElm), 32); + _children = cxArrayListCreate(NULL, sizeof(GridElm), 32); _preferredSize.width = -1; _preferredSize.height = -1; diff -r 4f7e335a95ca -r 4f94daefb421 ui/cocoa/list.m --- a/ui/cocoa/list.m Fri Dec 26 10:19:17 2025 +0100 +++ b/ui/cocoa/list.m Sat Dec 27 11:09:18 2025 +0100 @@ -408,7 +408,7 @@ max = INT_MAX; } - CxList *sublists = cxArrayListCreate(a, NULL, sizeof(UiSubList), args->numsublists); + CxList *sublists = cxArrayListCreate(a, sizeof(UiSubList), args->numsublists); sublists->collection.advanced_destructor = (cx_destructor_func2)sublist_free; for(int i=0;ictx->document; e.eventdata = value; e.eventdatatype = UI_EVENT_DATA_INTEGER_VALUE; - e.intval = 1; + e.intval = v; e.set = ui_get_setop(); if(event->callback) { event->callback(&e, event->userdata); } - e.intval = v; if(value) { ui_notify_evt(value->observers, &e); }