From 425ede5288b50d140049f4e9e62d23189cd7d970 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 12 Apr 2015 16:00:09 -0400 Subject: Fixed Mac OS X tab page clearing. I'm really going to oneed to restructure the whole container system... --- new/container_darwin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new/container_darwin.m') diff --git a/new/container_darwin.m b/new/container_darwin.m index be49659..485298e 100644 --- a/new/container_darwin.m +++ b/new/container_darwin.m @@ -16,7 +16,7 @@ uiLogObjCClassAllocations - (void)viewDidMoveToSuperview { - if ([self superview] == nil) + if ([self superview] == destroyedControlsView) if (self.uiChild != NULL) { uiControlDestroy(self.uiChild); self.uiChild = NULL; -- cgit v1.2.3