GUI updates

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4928 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1999-09-21 15:42:14 +00:00
parent 98a649c60a
commit 7c09fe33ca
3 changed files with 32 additions and 54 deletions

View file

@ -183,32 +183,6 @@
[self setContinuous: YES];
}
- (void) performClick: (id)sender
{
NSView *cv;
if (control_view)
cv = control_view;
else
cv = [NSView focusView];
[self highlight: YES withFrame: [cv frame] inView: cv];
if (action)
{
NS_DURING
{
[(NSControl*)cv sendAction: action to: target];
}
NS_HANDLER
{
[self highlight: NO withFrame: [cv frame] inView: cv];
[localException raise];
}
NS_ENDHANDLER
}
[self highlight: NO withFrame: [cv frame] inView: cv];
}
//
// Setting the Key Equivalent
//