Removed obsolete lockFocus.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5060 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 1999-10-23 01:58:53 +00:00
parent 771be28699
commit 48782199e0
2 changed files with 0 additions and 7 deletions

View file

@ -613,9 +613,7 @@ static const float buttonsWidth = 16;
if (theCell)
{
[self lockFocus];
[theCell highlight: YES withFrame: rect inView: self];
[self unlockFocus];
[window flushWindow];
NSDebugLog (@"tracking cell %x", theCell);
@ -625,9 +623,7 @@ static const float buttonsWidth = 16;
ofView: self
untilMouseUp: YES];
[self lockFocus];
[theCell highlight: NO withFrame: rect inView: self];
[self unlockFocus];
[window flushWindow];
}

View file

@ -281,8 +281,6 @@ static Class cellClass;
NSSliderCell* theCell = [self cell];
NSRect rect;
[self lockFocus];
rect = [theCell knobRectFlipped: [self isFlipped]];
if (![self mouse: location inRect: rect])
{
@ -300,7 +298,6 @@ static Class cellClass;
[self trackKnob: theEvent knobRect: rect];
[self unlockFocus];
}
@end