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:
Richard Frith-MacDonald 1999-06-02 20:46:40 +00:00
parent 02162a72c3
commit fa12d9c86e

View file

@ -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])