Standardized the initialization.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5178 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 1999-11-14 03:25:33 +00:00
parent 1deef2c3d7
commit a80baefc00

View file

@ -41,8 +41,6 @@
@implementation NSSecureTextField @implementation NSSecureTextField
id _nsSecureTextFieldCellClass = nil;
/* /*
============== ==============
+initialize +initialize
@ -56,26 +54,6 @@ id _nsSecureTextFieldCellClass = nil;
} }
} }
/*
============
+cellClass
============
*/
+ (Class)cellClass
{
return _nsSecureTextFieldCellClass;
}
/*
===============
+setCellClass:
===============
*/
+ (void)setCellClass:(Class)classID
{
_nsSecureTextFieldCellClass = classID;
}
/* /*
============== ==============
-initWithFrame: -initWithFrame:
@ -83,10 +61,8 @@ id _nsSecureTextFieldCellClass = nil;
*/ */
- (id)initWithFrame:(NSRect)frameRect - (id)initWithFrame:(NSRect)frameRect
{ {
if ((self = [super _initFieldWithFrame:frameRect [super initWithFrame: frameRect];
cellClass:_nsSecureTextFieldCellClass])) {
[cell setEchosBullets:YES]; [cell setEchosBullets:YES];
}
return self; return self;
} }