--- a/ui/win32/grid.c Wed Oct 08 15:54:33 2025 +0200 +++ b/ui/win32/grid.c Wed Oct 08 16:09:54 2025 +0200 @@ -34,9 +34,8 @@ #include <stdio.h> #include <stdlib.h> -UiGridLayout* ui_grid_layout_create(const CxAllocator *a, HWND control, short columnspacing, short rowspacing) { +UiGridLayout* ui_grid_layout_create(const CxAllocator *a, short columnspacing, short rowspacing) { UiGridLayout *grid = cxZalloc(a, sizeof(UiGridLayout)); - grid->hwnd = control; grid->widgets = cxArrayListCreate(a, NULL, sizeof(GridElm), 32); grid->columnspacing = columnspacing; grid->rowspacing = rowspacing;