Replace wxValidator::SetBellOnError() with SuppressBellOnError().
SetBellOnError() erroneously inversed the value of its parameter. Fixing it to behave correctly could silently break the existing code which might work around this bug already because it always behaved like this (ever since it was added 10.5 years ago). So instead simply deprecate this function and add a new SuppressBellOnError() one which behaves as expected. Closes #11318. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -343,6 +343,9 @@ Deprecated methods and their replacements
|
||||
- wxFont::SetNoAntiAliasing() was deprecated, it never really worked in most
|
||||
ports and was always marked as "experimental" API. It will be replaced with
|
||||
wxDC-level anti-aliasing control in the future.
|
||||
- wxValidator::SetBellOnError() incorrectly interpreted its argument (it
|
||||
disabled the bell when it was true) and was replaced by SuppressBellOnError()
|
||||
with more expected semantics.
|
||||
|
||||
|
||||
Major new features in this release
|
||||
|
Reference in New Issue
Block a user