* Source/NSBrowser.m fixed bug where column matrix was getting released

twice in method _performLoadOfColumn.
* NSCell.m: isOpaque returns whether cell is bezeled per NS docs.
* NSText.m: implemented setBackground and back color release in dealloc.
* NSMenu.m: insertItemWithTitle moved set font position for performance


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2856 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Felipe A. Rodriguez 1998-07-18 19:21:22 +00:00
parent 67e0ab8be0
commit 68df7a7ebf
3 changed files with 19 additions and 4 deletions

View file

@ -35,6 +35,10 @@
#include <AppKit/NSFont.h>
#include <AppKit/NSColor.h>
#define ASSIGN(variable, value) [value retain]; \
[variable release]; \
variable = value;
//
// NSText implementation
//
@ -78,6 +82,14 @@
default_font = [NSFont userFontOfSize:12];
return self;
}
- (void)dealloc
{
[background_color release];
[super dealloc];
}
//
// Getting and Setting Contents
//
@ -201,7 +213,7 @@
- (void)setBackgroundColor:(NSColor *)color
{
background_color = color;
ASSIGN(background_color, color);
}
- (void)setColor:(NSColor *)color