Incorporated bug fixes from Benhur Stein.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2587 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ovidiu 1997-10-29 21:56:04 +00:00
parent c277083404
commit 9b0ceb4edd
8 changed files with 70 additions and 41 deletions

View file

@ -64,8 +64,13 @@ static Class defaultCellClass = nil;
- (NSFormCell*)insertEntry:(NSString*)title
atIndex:(int)index
{
NSFormCell *new_cell = [[[isa cellClass] alloc] initTextCell:title];
[self insertRow:index];
return [self cellAtRow:index column:0];
[self putCell:new_cell atRow:index column:0];
[new_cell release];
return new_cell;
}
- (void)removeEntryAtIndex:(int)index