Corrected problem with cell.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21942 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-11-04 05:21:00 +00:00
parent ce7f46450a
commit 1bec36dab3
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2005-11-04 00:20 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormCustomClassInspector.m: Corrected problem with cell.
2005-11-02 20:17 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormFilePrefsManager.m: Updated version to 1.0.1

View file

@ -182,9 +182,9 @@
if(cellClass != [[object cell] class])
{
NSCell *newCell = [[cellClass alloc] init];
id newCell = [[cellClass alloc] init];
id cell = [object cell];
BOOL drawsBackground = NO;
id *cell = [object cell];
if([object respondsToSelector: @selector(drawsBackground)])
{
@ -270,7 +270,7 @@
if([newCell respondsToSelector: @selector(setAlternateImage:)] &&
[cell respondsToSelector: @selector(alternateImage)])
{
[newCell setAlternateTitle: [cell alternateImage]];
[newCell setAlternateImage: [cell alternateImage]];
}
if([newCell respondsToSelector: @selector(setImage:)] &&
[cell respondsToSelector: @selector(image)])