--- a/ui/win32/toolkit.h Wed Dec 31 10:06:15 2025 +0100 +++ b/ui/win32/toolkit.h Wed Dec 31 10:34:29 2025 +0100 @@ -55,7 +55,7 @@ LRESULT CALLBACK ui_default_eventproc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); -typedef void(*ui_command_func)(UiObject *, void *userdata); +typedef void(*ui_command_func)(UiObject *, uint64_t id, void *userdata); typedef struct UiCommand { ui_command_func callback; void *userdata;