X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/180d62d808a1d23bbd1915fd5c6c07031f54323d..5caf524dff950e9c312f32788b09d701b3b4f3ca:/interface/wx/validate.h 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.