mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-03 17:20:56 +00:00
* Source/GSNibCompatibility.m: Corrected issue with using generic
cells on some controls. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27153 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9204e1e478
commit
ca3876ddd3
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-11-27 10:07-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* Source/GSNibCompatibility.m: Corrected issue with using generic
|
||||||
|
cells on some controls.
|
||||||
|
|
||||||
2008-11-27 Richard Frith-Macdonald <rfm@gnu.org>
|
2008-11-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* NSSound.m:
|
* NSSound.m:
|
||||||
|
|
|
@ -1003,7 +1003,10 @@ static BOOL _isInInterfaceBuilder = NO;
|
||||||
[_className isEqualToString: _originalClassName] == NO)
|
[_className isEqualToString: _originalClassName] == NO)
|
||||||
{
|
{
|
||||||
Class newCellClass = [newClass cellClass];
|
Class newCellClass = [newClass cellClass];
|
||||||
result = [[newCellClass alloc] initWithCoder: coder];
|
if(newCellClass != [NSCell class])
|
||||||
|
{
|
||||||
|
result = [[newCellClass alloc] initWithCoder: coder];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue