mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
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:
parent
771be28699
commit
48782199e0
2 changed files with 0 additions and 7 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue