mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:50:38 +00:00
* Source/NSTableView.m:
* Source/GSNibLoading.m: Move -[coder setClassName: @"_NSCornerView" forClass: [GSTableCornerView class]] call from -[NSTableView initWithCoder:] to GSNibLoading, because corner views can be encountered before hitting -[NSTableView initWithCoder:] git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34919 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2a07533d00
commit
ad80fdd717
3 changed files with 15 additions and 2 deletions
|
@ -1738,6 +1738,9 @@ static BOOL _isInInterfaceBuilder = NO;
|
|||
NSArray *accessibilityOidsKeys = nil;
|
||||
NSArray *accessibilityOidsValues = nil;
|
||||
|
||||
[(NSKeyedUnarchiver *)coder setClass: NSClassFromString(@"GSTableCornerView")
|
||||
forClassName: @"_NSCornerView"];
|
||||
|
||||
//
|
||||
// Get root, font, framwork and oid.
|
||||
// Retain objects since NSKeyedUnarchiver autoreleases unarchived objects.
|
||||
|
|
|
@ -5573,8 +5573,6 @@ This method is deprecated, use -columnIndexesInRect:. */
|
|||
[self setRowHeight: [aDecoder decodeFloatForKey: @"NSRowHeight"]];
|
||||
}
|
||||
|
||||
[(NSKeyedUnarchiver *)aDecoder setClass: [GSTableCornerView class]
|
||||
forClassName: @"_NSCornerView"];
|
||||
if ([aDecoder containsValueForKey: @"NSCornerView"])
|
||||
{
|
||||
NSView *aView = [aDecoder decodeObjectForKey: @"NSCornerView"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue