mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:27:38 +00:00
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:
parent
4db99dfd1c
commit
debc412a06
5 changed files with 49 additions and 123 deletions
|
@ -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
|
||||
//
|
||||
|
|
|
@ -247,7 +247,10 @@ id GNUSTEP_GUI_FONT_PANEL_FACTORY;
|
|||
return f;
|
||||
}
|
||||
else
|
||||
return nil;
|
||||
{
|
||||
NSLog(@"Invalid font request\n");
|
||||
return nil;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue