mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:30:53 +00:00
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:
parent
c277083404
commit
9b0ceb4edd
8 changed files with 70 additions and 41 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue