mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 10:20:58 +00:00
* Source/NSCell.m ([NSCell encodeWithCoder:]): Reinsert encoding
of isContinuous to insure backward compatiblity of archives. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16215 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8ba951b342
commit
a2683d66ba
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-03-20 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* Source/NSCell.m ([NSCell encodeWithCoder:]): Reinsert encoding
|
||||
of isContinuous to insure backward compatiblity of archives.
|
||||
|
||||
2003-03-20 Serg Stoyan <stoyan@on.com.ua>
|
||||
|
||||
* Source/NSMenuView.m
|
||||
|
|
|
@ -1945,7 +1945,10 @@ static NSColor *shadowCol;
|
|||
flag = _cell.is_selectable;
|
||||
[aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag];
|
||||
// This used to be is_continuous, which has been replaced.
|
||||
//flag = _cell.is_continuous;
|
||||
/* Ayers 20.03.2003: But we must continue to encode it for backward
|
||||
compatibility or current releases will have undefined behavior when
|
||||
decoding archives (i.e. .gorm files) encoded by this version. */
|
||||
flag = [self isContinuous];
|
||||
[aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag];
|
||||
flag = _cell.allows_mixed_state;
|
||||
[aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag];
|
||||
|
|
Loading…
Reference in a new issue