Some small changes to support backing-store.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2244 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
netcrep 1997-03-17 18:43:27 +00:00
parent c50f0dae54
commit e57412cbff
8 changed files with 27 additions and 17 deletions

View file

@ -98,8 +98,7 @@ id gnustep_gui_nsscroller_class = nil;
[super initWithFrame:frameRect];
// set our cell
[[self cell] release];
[self setCell:[[gnustep_gui_nsscroller_class alloc] init]];
[self setCell:[[gnustep_gui_nsscroller_class new] autorelease]];
[self selectCell: cell];
arrows_position = NSScrollerArrowsMaxEnd;