ui/winui/toolkit.cpp

changeset 3
f154867f54dc
parent 0
2483f517c562
child 5
83263002816f
--- a/ui/winui/toolkit.cpp	Sat Jan 27 17:50:19 2024 +0100
+++ b/ui/winui/toolkit.cpp	Sun Jan 28 16:31:34 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"
@@ -157,6 +158,8 @@
 
 	//ui_appsdk_bootstrap();
 
+	uic_init_global_context();
+	uic_docmgr_init();
 	uic_toolbar_init();
 }
 

mercurial