Changed the retain/release policy in NSButton, NSCell, NSControl,

NSSlider and NSTextField classes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2230 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
netcrep 1997-03-05 19:46:41 +00:00
parent 1c8d394839
commit 10ada90f30
11 changed files with 112 additions and 13 deletions

View file

@ -85,8 +85,7 @@ id gnustep_gui_nsbutton_class = nil;
[super initWithFrame:frameRect];
// set our cell
[[self cell] release];
[self setCell:[[gnustep_gui_nsbutton_class alloc] init]];
[self setCell:[[gnustep_gui_nsbutton_class new] autorelease]];
return self;
}