X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/180d62d808a1d23bbd1915fd5c6c07031f54323d..efb091829601cf07df6c4316a3f6f705aaa81587:/interface/wx/validate.h?ds=sidebyside diff --git a/interface/wx/validate.h b/interface/wx/validate.h index bb2077bcaa..0121382602 100644 --- a/interface/wx/validate.h +++ b/interface/wx/validate.h @@ -74,8 +74,14 @@ public: /** This functions switches on or turns off the error sound produced by the validators if an invalid key is pressed. + + @since 2.9.1 + + @param suppress + If @true, error sound is not played when a validator detects an + error. If @false, error sound is enabled. */ - static void SetBellOnError(bool doIt = true); + static void SuppressBellOnError(bool suppress = true); /** Associates a window with the validator.