From 8be8c2bb396c6bd3694f80ee24af986e83aa0bdd Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sun, 16 Nov 2025 08:24:10 +0000 Subject: [PATCH] oops git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@741 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core.c b/src/core.c index f0a47bd..43898ff 100644 --- a/src/core.c +++ b/src/core.c @@ -164,6 +164,9 @@ MwWidget MwCreateWidget(MwClass widget_class, const char* name, MwWidget parent, MwDestroyWidget(h); return NULL; } + if(h->widget_class == NULL){ + MwSetDefault(h); + } h->prop_event = 1; if(h->widget_class != NULL && h->widget_class->tick != NULL) {