Minor fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2068 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Scott Christley 1997-01-30 15:41:50 +00:00
parent 4db99dfd1c
commit debc412a06
5 changed files with 49 additions and 123 deletions

View file

@ -97,6 +97,21 @@ NSString *NSControlTextDidChangeNotification;
[super dealloc];
}
//
// Creating copies
//
- copyWithZone:(NSZone *)zone
{
id c;
c = [super copyWithZone: zone];
NSLog(@"NSControl: copyWithZone\n");
// make sure the new copy also has a new copy of the cell
[c setCell: [cell copy]];
return c;
}
//
// Setting the Control's Cell
//

View file

@ -247,7 +247,10 @@ id GNUSTEP_GUI_FONT_PANEL_FACTORY;
return f;
}
else
return nil;
{
NSLog(@"Invalid font request\n");
return nil;
}
}
//