mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 05:32:11 +00:00
Perform click in correct view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4345 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
02162a72c3
commit
fa12d9c86e
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
|
|||
|
||||
- (void) performClick: (id)sender
|
||||
{
|
||||
NSView *cv = [self controlView];
|
||||
NSView *cv = [NSView focusView];
|
||||
|
||||
[self highlight: YES withFrame: [cv frame] inView: cv];
|
||||
if ([self action])
|
||||
|
|
Loading…
Reference in a new issue