Author: matt
Date: 2011-09-27 20:39:23 -0700 (Tue, 27 Sep 2011)
New Revision: 9072
Log:
STR 2673: stop the annoying beeps when opening modal dialogs (this was so '80s)

Modified:
   branches/branch-1.3/src/fl_ask.cxx

Modified: branches/branch-1.3/src/fl_ask.cxx
===================================================================
--- branches/branch-1.3/src/fl_ask.cxx  2011-09-28 03:35:51 UTC (rev 9071)
+++ branches/branch-1.3/src/fl_ask.cxx  2011-09-28 03:39:23 UTC (rev 9072)
@@ -327,7 +327,7 @@
 
   va_list ap;
 
-  fl_beep(FL_BEEP_MESSAGE);
+  // fl_beep(FL_BEEP_MESSAGE);
 
   va_start(ap, fmt);
   iconlabel = "i";
@@ -350,7 +350,7 @@
 
   va_list ap;
 
-  fl_beep(FL_BEEP_ERROR);
+  // fl_beep(FL_BEEP_ERROR);
 
   va_start(ap, fmt);
   iconlabel = "!";
@@ -375,7 +375,7 @@
 
   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 @@
 
   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 @@
 
   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 @@
 
   if (avoidRecursion) return 0;
 
-  fl_beep(FL_BEEP_PASSWORD);
+  // fl_beep(FL_BEEP_PASSWORD);
 
   va_list ap;
   va_start(ap, defstr);

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to