85 ev.obj = obj; |
85 ev.obj = obj; |
86 ev.eventdata = NULL; |
86 ev.eventdata = NULL; |
87 ev.intval = 0; |
87 ev.intval = 0; |
88 obj->ctx->close_callback(&ev, obj->ctx->close_data); |
88 obj->ctx->close_callback(&ev, obj->ctx->close_data); |
89 } |
89 } |
90 cxMempoolDestroy(obj->ctx->mp); |
90 cxMempoolFree(obj->ctx->mp); |
91 } |
91 } |
92 |
92 |
93 UiObject* uic_object_new(UiObject *toplevel, UIWIDGET widget) { |
93 UiObject* uic_object_new(UiObject *toplevel, UIWIDGET widget) { |
94 return uic_ctx_object_new(toplevel->ctx, widget); |
94 return uic_ctx_object_new(toplevel->ctx, widget); |
95 } |
95 } |