--- a/ui/ui/toolkit.h Mon Oct 02 10:10:09 2023 +0200 +++ b/ui/ui/toolkit.h Mon Oct 02 19:31:06 2023 +0200 @@ -87,11 +87,9 @@ class UiWidget { public: winrt::Microsoft::UI::Xaml::UIElement uielement; - - void* obj; - void(*event_func)(void*, void*) = nullptr; - void* event_data = nullptr; - + void* data1 = nullptr; + void* data2 = nullptr; + void* data3 = nullptr; UiWidget(winrt::Microsoft::UI::Xaml::UIElement& elm); };