mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 19:16:30 +00:00
Use _trackWithEvent: instead of trackWithEvent: to have just one mouse capture call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32629 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2cb8461350
commit
486fa5a2eb
2 changed files with 9 additions and 4 deletions
|
@ -1628,7 +1628,7 @@ static NSMapTable *viewInfo = 0;
|
|||
setHighlightedItemIndex: -1];
|
||||
|
||||
candidateMenuResult = [[candidateMenu menuRepresentation]
|
||||
trackWithEvent: original];
|
||||
_trackWithEvent: original];
|
||||
return candidateMenuResult;
|
||||
}
|
||||
|
||||
|
@ -1642,7 +1642,7 @@ static NSMapTable *viewInfo = 0;
|
|||
BOOL subMenuResult;
|
||||
|
||||
subMenuResult
|
||||
= [[self attachedMenuView] trackWithEvent: original];
|
||||
= [[self attachedMenuView] _trackWithEvent: original];
|
||||
if (subMenuResult
|
||||
&& wasTransient == [_attachedMenu isTransient])
|
||||
{
|
||||
|
@ -1676,8 +1676,8 @@ static NSMapTable *viewInfo = 0;
|
|||
index != [mainWindowMenuView highlightedItemIndex])
|
||||
{
|
||||
[self setHighlightedItemIndex: -1];
|
||||
return [[[[NSApp mainWindow] menu] menuRepresentation]
|
||||
trackWithEvent: original];
|
||||
return [mainWindowMenuView
|
||||
_trackWithEvent: original];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue