mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
Makefiles changed to GNUmakefile.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2577 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
807247e979
commit
1f8f64b47b
19 changed files with 162 additions and 922 deletions
|
@ -32,6 +32,30 @@
|
|||
|
||||
@implementation NSForm
|
||||
|
||||
/* Class variables */
|
||||
static Class defaultCellClass = nil;
|
||||
|
||||
+ (void)initialize
|
||||
{
|
||||
if (self == [NSForm class]) {
|
||||
/* Set the initial version */
|
||||
[self setVersion: 1];
|
||||
|
||||
/* Set the default cell class */
|
||||
defaultCellClass = [NSFormCell class];
|
||||
}
|
||||
}
|
||||
|
||||
+ (Class)cellClass
|
||||
{
|
||||
return defaultCellClass;
|
||||
}
|
||||
|
||||
+ (void)setCellClass:(Class)classId
|
||||
{
|
||||
defaultCellClass = classId;
|
||||
}
|
||||
|
||||
- (NSFormCell*)addEntry:(NSString*)title
|
||||
{
|
||||
return [self insertEntry:title atIndex:[self numberOfRows]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue