mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Fix final issues.
This commit is contained in:
parent
5a2b657431
commit
35a5b3c156
1 changed files with 2 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue