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
f44094b4e4
commit
bd1db7d098
|
@ -16,7 +16,7 @@ uiLogObjCClassAllocations
|
||||||
|
|
||||||
- (void)viewDidMoveToSuperview
|
- (void)viewDidMoveToSuperview
|
||||||
{
|
{
|
||||||
if ([self superview] == nil)
|
if ([self superview] == destroyedControlsView)
|
||||||
if (self.uiChild != NULL) {
|
if (self.uiChild != NULL) {
|
||||||
uiControlDestroy(self.uiChild);
|
uiControlDestroy(self.uiChild);
|
||||||
self.uiChild = NULL;
|
self.uiChild = NULL;
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
// 12 april 2015
|
// 12 april 2015
|
||||||
#import "uipriv_darwin.h"
|
#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
|
@interface uiNSTabView : NSTabView
|
||||||
@property uiControl *uiC;
|
@property uiControl *uiC;
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
// 6 april 2015
|
// 6 april 2015
|
||||||
#import "uipriv_darwin.h"
|
#import "uipriv_darwin.h"
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
// - free chilld containers properly
|
||||||
|
|
||||||
@interface uiWindowDelegate : NSObject <NSWindowDelegate>
|
@interface uiWindowDelegate : NSObject <NSWindowDelegate>
|
||||||
@property (assign) NSWindow *w;
|
@property (assign) NSWindow *w;
|
||||||
@property (assign) uiContainer *container;
|
@property (assign) uiContainer *container;
|
||||||
|
|
Loading…
Reference in New Issue