Correction for bug#11409.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20498 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-12-28 17:06:14 +00:00
parent 43e29c5d1b
commit 2f2183fca1
2 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2004-12-28 12:04 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSWindow.m: Correction for bug#11409.
2004-12-23 05:38 Gregory John Casamento <greg_casamento@yahoo.com>
* Images/MagnifyGlass.tiff: Added. The NSColorPanel class uses

View file

@ -4110,10 +4110,13 @@ resetCursorRectsForView(NSView *theView)
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &flag];
[self setAcceptsMouseMovedEvents: flag];
/* _miniaturizedImage has already been set by -_initDefaults. */
DESTROY(_miniaturizedImage);
[aDecoder decodeValueOfObjCType: @encode(id)
at: &_miniaturizedImage];
/* If the image has been specified, use it, if not use the default. */
obj = [aDecoder decodeObject];
if(obj != nil)
{
ASSIGN(_miniaturizedImage, obj);
}
[aDecoder decodeValueOfObjCType: @encode(id)
at: &_initialFirstResponder];