Implemented uiControlDestroy() for uiTable on OS X.

This commit is contained in:
Pietro Gagliardi 2018-07-08 21:22:55 -04:00
parent 095e63d522
commit a37fdadbd7
1 changed files with 3 additions and 1 deletions

View File

@ -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));
}