mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 06:30:38 +00:00
Rename variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2278 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
563a27b2bb
commit
8ca61ca6f4
3 changed files with 14 additions and 8 deletions
|
@ -35,7 +35,7 @@
|
|||
//
|
||||
// class variables
|
||||
//
|
||||
static id MB_NSTEXTFIELDCELL_CLASS = nil;
|
||||
id gnustep_gui_nstextfield_cell_class = nil;
|
||||
|
||||
@implementation NSTextField
|
||||
|
||||
|
@ -59,12 +59,12 @@ static id MB_NSTEXTFIELDCELL_CLASS = nil;
|
|||
//
|
||||
+ (Class)cellClass
|
||||
{
|
||||
return MB_NSTEXTFIELDCELL_CLASS;
|
||||
return gnustep_gui_nstextfield_cell_class;
|
||||
}
|
||||
|
||||
+ (void)setCellClass:(Class)classId
|
||||
{
|
||||
MB_NSTEXTFIELDCELL_CLASS = classId;
|
||||
gnustep_gui_nstextfield_cell_class = classId;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -80,7 +80,7 @@ static id MB_NSTEXTFIELDCELL_CLASS = nil;
|
|||
[super initWithFrame:frameRect];
|
||||
|
||||
// set our cell
|
||||
[self setCell:[[MB_NSTEXTFIELDCELL_CLASS new] autorelease]];
|
||||
[self setCell:[[gnustep_gui_nstextfield_cell_class new] autorelease]];
|
||||
[cell setState:1];
|
||||
text_cursor = [NSCursor IBeamCursor];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue