mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:50:37 +00:00
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:
parent
98a649c60a
commit
7c09fe33ca
3 changed files with 32 additions and 54 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue