ui/win32/grid.c

changeset 818
8185cd761897
parent 815
7ddf5fb7ec2a
child 841
651cf2c59dd9
--- 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;

mercurial