Document. Fix up NSDebugLogs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14727 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-10-12 03:14:22 +00:00
parent 31a22a7150
commit 356a824ea8
24 changed files with 199 additions and 159 deletions

View file

@ -472,7 +472,6 @@ static NSNotificationCenter *nc = nil;
{
if (self == [NSWindow class])
{
NSDebugLog(@"Initialize NSWindow class\n");
[self setVersion: 2];
ccSel = @selector(_checkCursorRectangles:forEvent:);
ctSel = @selector(_checkTrackingRectangles:forEvent:);
@ -569,8 +568,6 @@ static NSNotificationCenter *nc = nil;
{
int style;
NSDebugLog(@"NSWindow -init\n");
style = NSTitledWindowMask | NSClosableWindowMask
| NSMiniaturizableWindowMask | NSResizableWindowMask;
@ -3746,8 +3743,6 @@ Code shared with [NSPanel -sendEvent:], remember to update both places.
[super encodeWithCoder: aCoder];
NSDebugLog(@"NSWindow: start encoding\n");
[aCoder encodeRect: [[self contentView] frame]];
[aCoder encodeValueOfObjCType: @encode(unsigned) at: &_styleMask];
[aCoder encodeValueOfObjCType: @encode(NSBackingStoreType) at: &_backingType];
@ -3785,8 +3780,6 @@ Code shared with [NSPanel -sendEvent:], remember to update both places.
[aCoder encodeObject: _miniaturizedImage];
[aCoder encodeConditionalObject: _initialFirstResponder];
NSDebugLog(@"NSWindow: finish encoding\n");
}
- (id) initWithCoder: (NSCoder*)aDecoder
@ -3804,7 +3797,6 @@ Code shared with [NSPanel -sendEvent:], remember to update both places.
int anInt;
id obj;
NSDebugLog(@"NSWindow: start decoding\n");
aRect = [aDecoder decodeRect];
[aDecoder decodeValueOfObjCType: @encode(unsigned)
at: &aStyle];
@ -3866,7 +3858,6 @@ Code shared with [NSPanel -sendEvent:], remember to update both places.
at: &_initialFirstResponder];
[self setFrameTopLeftPoint: p];
NSDebugLog(@"NSWindow: finish decoding\n");
}
return self;