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:
gcasa 2006-08-11 05:53:28 +00:00
parent 54219e0d9b
commit 90e17f25f2
5 changed files with 30 additions and 16 deletions

View file

@ -1520,7 +1520,7 @@ typedef struct _GSButtonCellFlags
{
int delay = 0;
int interval = 0;
// NSControl *control = [aDecoder decodeObjectForKey: @"NSControlView"];
NSControl *control = [aDecoder decodeObjectForKey: @"NSControlView"];
if ([aDecoder containsValueForKey: @"NSKeyEquivalent"])
{