--- a/ui/winui/toolkit.cpp Sun Jan 28 10:06:54 2024 +0100 +++ b/ui/winui/toolkit.cpp Sun Jan 28 11:42:42 2024 +0100 @@ -34,6 +34,7 @@ #include <cx/mempool.h> #include "../common/context.h" +#include "../common/document.h" #include "../common/toolbar.h" #include "icons.h" @@ -158,6 +159,7 @@ //ui_appsdk_bootstrap(); uic_init_global_context(); + uic_docmgr_init(); uic_toolbar_init(); }