Use NSDebugLLog instead of NSLog when we get an event in a subview area.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18324 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2004-01-07 01:55:21 +00:00
parent f183ffcbb6
commit 270f3c3eda
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2004-01-07 02:51 Alexander Malmberg <alexander@malmberg.org>
* Source/NSSplitView.m (-mouseDown:): Use an NSDebugLLog when we get
an event in a subview area instead of an NSLog.
2004-01-04 02:32 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSApplication.m: Documentation.

View file

@ -2,7 +2,7 @@
<abstract>Allows multiple views to share a region in a window</abstract>
Copyright (C) 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 1996, 1998, 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
Author: Robert Vasvari <vrobi@ddrummer.com>
Date: Jul 1998
@ -137,10 +137,12 @@ static NSNotificationCenter *nc = nil;
r = [v frame];
/* if the click is inside of a subview, return. this should
happen only if a subview has leaked a mouse down to next
responder */
responder
*/
if (NSPointInRect(p, r))
{
NSLog(@"NSSplitView got mouseDown in subview area");
NSDebugLLog(@"NSSplitView",
@"NSSplitView got mouseDown in subview area");
return;
}
if (_isVertical == NO)