mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
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:
parent
ae8ea4d667
commit
edb8be1a9e
1 changed files with 9 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue