Fill out NSBox implementation.

Minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2536 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
scottc 1997-10-20 22:01:25 +00:00
parent 7fbda79985
commit a0ccec39d1
7 changed files with 372 additions and 13 deletions

View file

@ -84,16 +84,24 @@ id gnustep_gui_nstextfield_cell_class = nil;
// set our cell
[self setCell:[[gnustep_gui_nstextfield_cell_class new] autorelease]];
[cell setState:1];
text_cursor = [NSCursor IBeamCursor];
text_cursor = [[NSCursor IBeamCursor] retain];
return self;
}
- (void)dealloc
{
[text_cursor release];
[super dealloc];
}
//
// Creating copies
//
- (void)setTextCursor:(NSCursor *)aCursor
{
[aCursor retain];
[text_cursor release];
text_cursor = aCursor;
}