Fix final issues.

This commit is contained in:
Gregory John Casamento 2021-10-03 05:15:16 -04:00
parent 5a2b657431
commit 35a5b3c156

View file

@ -59,15 +59,6 @@
return self;
}
- (void) setContentView: (NSView *)view
{
if (view != nil)
{
[view setAutoresizingMask: NSViewWidthSizable | NSViewHeightSizable];
[self addSubview: view];
}
}
- (void) drawRect: (NSRect)dirtyRect
{
NSRectEdge sides[] = {NSMinXEdge, NSMaxYEdge, NSMaxXEdge, NSMinYEdge};
@ -98,7 +89,8 @@
defer: flag];
if (self)
{
[super setContentView: AUTORELEASE([[GSPopoverView alloc] initWithFrame: contentRect])];
[super setContentView: AUTORELEASE([[GSPopoverView alloc]
initWithFrame: contentRect])];
}
return self;
}
@ -163,13 +155,11 @@
return _appearance;
}
- (void) setBehavior: (NSPopoverBehavior)value
{
_behavior = value;
}
- (NSPopoverBehavior) behavior
{
return _behavior;