--- a/ui/winui/window.cpp Sun Oct 01 09:23:47 2023 +0200 +++ b/ui/winui/window.cpp Sun Oct 01 12:08:09 2023 +0200 @@ -45,7 +45,7 @@ #include <stdlib.h> -#include <cx/basic_mempool.h> +#include <cx/mempool.h> using namespace winrt; using namespace Microsoft::UI::Xaml; @@ -62,7 +62,7 @@ CxMempool* mp = cxBasicMempoolCreate(256); UiObject* obj = (UiObject*)cxCalloc(mp->allocator, 1, sizeof(UiObject)); - obj->ctx = uic_context(obj, mp->allocator); + obj->ctx = uic_context(obj, mp); obj->window = window_data; Window window = Window();