Fixed NSBox archiving/dearchiving

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12576 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-02-20 12:37:31 +00:00
parent ae8ea4d667
commit edb8be1a9e

View file

@ -128,6 +128,15 @@ void __dummy_GMAppKit_functionForLinking() {}
@implementation NSBox (GMArchiverMethods)
/* NSBox is very special because it always has a single subview, which
is the contentview, and it overrides addSubview: to add subviews to
the contentview. Make sure we can manage this case properly and
portably. */
- (NSArray *)subviewsForModel
{
return [NSArray array];
}
- (void)encodeWithModelArchiver:(GMArchiver*)archiver
{
[super encodeWithModelArchiver:archiver];