From 1fba7d0f4694fdabc3db67f489d9e3e3956035da Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 28 Sep 2011 03:39:23 +0000 Subject: STR 2673: stop the annoying beeps when opening modal dialogs (this was so '80s) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_ask.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx index 177cb5a8a..56834a590 100644 --- a/src/fl_ask.cxx +++ b/src/fl_ask.cxx @@ -327,7 +327,7 @@ void fl_message(const char *fmt, ...) { va_list ap; - fl_beep(FL_BEEP_MESSAGE); + // fl_beep(FL_BEEP_MESSAGE); va_start(ap, fmt); iconlabel = "i"; @@ -350,7 +350,7 @@ void fl_alert(const char *fmt, ...) { va_list ap; - fl_beep(FL_BEEP_ERROR); + // fl_beep(FL_BEEP_ERROR); va_start(ap, fmt); iconlabel = "!"; @@ -375,7 +375,7 @@ int fl_ask(const char *fmt, ...) { va_list ap; - fl_beep(FL_BEEP_QUESTION); + // fl_beep(FL_BEEP_QUESTION); va_start(ap, fmt); int r = innards(fmt, ap, fl_no, fl_yes, 0); @@ -405,7 +405,7 @@ int fl_choice(const char*fmt,const char *b0,const char *b1,const char *b2,...){ va_list ap; - fl_beep(FL_BEEP_QUESTION); + // fl_beep(FL_BEEP_QUESTION); va_start(ap, b2); int r = innards(fmt, ap, b0, b1, b2); @@ -448,7 +448,7 @@ const char* fl_input(const char *fmt, const char *defstr, ...) { if (avoidRecursion) return 0; - fl_beep(FL_BEEP_QUESTION); + // fl_beep(FL_BEEP_QUESTION); va_list ap; va_start(ap, defstr); @@ -474,7 +474,7 @@ const char *fl_password(const char *fmt, const char *defstr, ...) { if (avoidRecursion) return 0; - fl_beep(FL_BEEP_PASSWORD); + // fl_beep(FL_BEEP_PASSWORD); va_list ap; va_start(ap, defstr); -- cgit v1.2.3