Fixed Mac OS X tab page clearing. I'm really going to oneed to restructure the whole container system...
This commit is contained in:
parent
142b2db9f5
commit
425ede5288
|
@ -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;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// 12 april 2015
|
||||
#import "uipriv_darwin.h"
|
||||
|
||||
// TODO very margins against extra space around the tab
|
||||
// TODO
|
||||
// - verify margins against extra space around the tab
|
||||
// - free child containers properly
|
||||
|
||||
@interface uiNSTabView : NSTabView
|
||||
@property uiControl *uiC;
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
// 6 april 2015
|
||||
#import "uipriv_darwin.h"
|
||||
|
||||
// TODO
|
||||
// - free chilld containers properly
|
||||
|
||||
@interface uiWindowDelegate : NSObject <NSWindowDelegate>
|
||||
@property (assign) NSWindow *w;
|
||||
@property (assign) uiContainer *container;
|
||||
|
|
Loading…
Reference in New Issue