mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 12:35:22 +02:00
use SWT beep instead of AWT!
This commit is contained in:
parent
4ea9553ee3
commit
966efba4b2
1 changed files with 1 additions and 4 deletions
|
@ -1635,10 +1635,7 @@ public class TerminalText implements Runnable, ControlListener {
|
||||||
* Process a BEL (Control-G) character.
|
* Process a BEL (Control-G) character.
|
||||||
*/
|
*/
|
||||||
protected void processBEL() {
|
protected void processBEL() {
|
||||||
// ISSUE: Is there a better way to make a sound? This is not guaranteed to
|
Display.getCurrent().beep();
|
||||||
// work on all platforms.
|
|
||||||
// TODO
|
|
||||||
java.awt.Toolkit.getDefaultToolkit().beep();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue