Mon, 08 Dec 2025 16:21:24 +0100
fix win32 build
| client/args.c | file | annotate | diff | comparison | revisions | |
| ui/win32/list.c | file | annotate | diff | comparison | revisions |
--- a/client/args.c Mon Dec 08 11:36:46 2025 +0100 +++ b/client/args.c Mon Dec 08 16:21:24 2025 +0100 @@ -208,7 +208,7 @@ } init_common_args(value, args, &button_args); - init_states(value, args, (argfunc_set_intarray)ui_button_args_set_groups); + init_states(value, args, (argfunc_set_intarray)ui_button_args_set_states); CxJsonValue *val = cxJsonObjGet(value, "label"); if(val && val->type == CX_JSON_STRING) { @@ -240,7 +240,7 @@ } init_common_args(value, args, &button_args); - init_states(value, args, (argfunc_set_intarray)ui_button_args_set_groups); + init_states(value, args, (argfunc_set_intarray)ui_button_args_set_states); CxJsonValue *val = cxJsonObjGet(value, "label"); if(val && val->type == CX_JSON_STRING) {
--- a/ui/win32/list.c Mon Dec 08 11:36:46 2025 +0100 +++ b/ui/win32/list.c Mon Dec 08 16:21:24 2025 +0100 @@ -134,7 +134,7 @@ } } else { UiModel *model = ui_model_new(obj->ctx); - ui_model_add_column(obj->ctx, model, UI_STRING, "Test", -1); + ui_model_add_column(model, UI_STRING, "Test", -1); listview->model = model; numcolumns = 1; }