mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 15:06:24 +00:00
More keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18603 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
91430f347e
commit
13a4046e1a
6 changed files with 132 additions and 10 deletions
|
@ -3623,7 +3623,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
|||
if ([aDecoder allowsKeyedCoding])
|
||||
{
|
||||
NSRect frame = NSZeroRect;
|
||||
id next = [aDecoder decodeObjectForKey: @"NSNextResponder"];
|
||||
//id next = [aDecoder decodeObjectForKey: @"NSNextResponder"];
|
||||
//NSView *superView = [aDecoder decodeObjectForKey: @"NSSuperview"];
|
||||
NSView *nextKeyView = [aDecoder decodeObjectForKey: @"NSNextKeyView"];
|
||||
NSArray *subViews = [aDecoder decodeObjectForKey: @"NSSubviews"];
|
||||
|
@ -3633,10 +3633,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
|||
frame = [aDecoder decodeRectForKey: @"NSFrame"];
|
||||
}
|
||||
self = [self initWithFrame: frame];
|
||||
if (next != nil)
|
||||
{
|
||||
[self setNextResponder: next];
|
||||
}
|
||||
|
||||
if (subViews != nil)
|
||||
{
|
||||
NSEnumerator *enumerator = [subViews objectEnumerator];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue