Correct memory issue with NSClassSwapper, encode control view in the action cell, add comments.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23249 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-08-11 05:53:28 +00:00
parent 75d5b070c1
commit bad637ff8e
5 changed files with 30 additions and 16 deletions

View file

@ -290,6 +290,7 @@ static Class controlClass;
[aCoder encodeInt: [self tag] forKey: @"NSTag"];
[aCoder encodeObject: [self target] forKey: @"NSTarget"];
[aCoder encodeObject: NSStringFromSelector([self action]) forKey: @"NSAction"];
[aCoder encodeObject: _control_view forKey: @"NSControlView"];
}
else
{