* Headers/AppKit/NSWindow.h

* Source/NSApplication.m
	* Source/NSWindow.m: Added ivar for attached sheet back.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28433 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-08-02 14:16:13 +00:00
parent 0e43459d49
commit 41e5c2bf3d
4 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2009-08-02 10:15-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/NSWindow.h
* Source/NSApplication.m
* Source/NSWindow.m: Added ivar for attached sheet back.
2009-08-01 20:28-EDT Gregory John Casamento <greg.casamento@gmail.com>
* config.make.in: Change to include BUILD_SPEECH in output

View file

@ -203,7 +203,7 @@ APPKIT_EXPORT NSSize NSTokenSize;
NSWindow *_parent;
NSCachedImageRep *_cachedImage;
NSPoint _cachedImageOrigin;
// NSWindow *_attachedSheet;
NSWindow *_attachedSheet;
struct GSWindowFlagsType {
unsigned accepts_drag:1;

View file

@ -382,7 +382,7 @@ struct _NSModalSession {
*/
- (void) setAttachedSheet: (id) sheet
{
// _attachedSheet = sheet;
_attachedSheet = sheet;
}
@end

View file

@ -985,8 +985,8 @@ many times.
/* Initialize attributes and flags */
[super init];
[self _initDefaults];
// _attachedSheet = nil;
_attachedSheet = nil;
_backingType = bufferingType;
_styleMask = aStyle;
if (aScreen == nil)
@ -5102,8 +5102,7 @@ current key view.<br />
- (NSWindow *) attachedSheet
{
// return _attachedSheet;
return nil;
return _attachedSheet;
}
@end