From a37fdadbd76dbd90ce86598dad820d5364a0d8bb Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 8 Jul 2018 21:22:55 -0400 Subject: [PATCH] Implemented uiControlDestroy() for uiTable on OS X. --- darwin/table.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/darwin/table.m b/darwin/table.m index fc203514..1bdc7f8d 100644 --- a/darwin/table.m +++ b/darwin/table.m @@ -163,7 +163,9 @@ static void uiTableDestroy(uiControl *c) { uiTable *t = uiTable(c); - // TODO + [t->m->tables removeObject:t->tv]; + uiprivScrollViewFreeData(t->sv, t->d); + [t->tv release]; [t->sv release]; uiFreeControl(uiControl(t)); }