--- a/ui/win32/button.h Thu Oct 09 18:24:09 2025 +0200 +++ b/ui/win32/button.h Thu Oct 09 18:49:19 2025 +0200 @@ -32,10 +32,8 @@ #include "../ui/button.h" #include "container.h" -typedef struct UiButton { - W32Widget widget; -} UiButton; - W32Size ui_button_get_preferred_size(W32Widget *widget); +void ui_button_eventproc(W32Widget *widget, HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); + #endif //BUTTON_H