mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 16:46:23 +00:00
Readded NSCell setType: patch with originally missing bit for NSButtonCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20072 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
878d6abeac
commit
a15214f38d
4 changed files with 45 additions and 8 deletions
|
@ -3785,8 +3785,12 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
|||
}
|
||||
if ([aDecoder containsValueForKey: @"NSvFlags"])
|
||||
{
|
||||
//int vFlags = [aDecoder decodeIntForKey: @"NSvFlags"];
|
||||
// FIXME set the flags
|
||||
int vFlags = [aDecoder decodeIntForKey: @"NSvFlags"];
|
||||
|
||||
// We are lucky here, Apple use the same constants
|
||||
// in the lower bits of the flags
|
||||
[self setAutoresizingMask: vFlags & 0x3F];
|
||||
[self setHidden: vFlags & (1 << 32)];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue