mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:00:38 +00:00
Added insertText:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12849 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5e8692aa21
commit
06a80d198d
1 changed files with 14 additions and 1 deletions
|
@ -131,9 +131,22 @@
|
|||
- (void) doCommandBySelector:(SEL)aSelector
|
||||
{
|
||||
if (![self tryToPerform: aSelector with: nil])
|
||||
NSBeep();
|
||||
{
|
||||
NSBeep();
|
||||
}
|
||||
}
|
||||
|
||||
- (void) insertText: (NSString*)aString
|
||||
{
|
||||
if (_next_responder)
|
||||
return [_next_responder insertText: aString];
|
||||
else
|
||||
{
|
||||
NSBeep ();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Forwarding event messages
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue