]> git.saurik.com Git - wxWidgets.git/commit
Replace wxValidator::SetBellOnError() with SuppressBellOnError().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 15 Oct 2009 14:44:22 +0000 (14:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 15 Oct 2009 14:44:22 +0000 (14:44 +0000)
commitc27181d1a10a2bd6b87f998ec65f7d4380d52b3c
tree4729261935deb617d89787ca0f60dd5b9c847202
parentb68d34f34c45b0c002c644b913af1959bb6f53b3
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
docs/changes.txt
include/wx/validate.h
interface/wx/validate.h
samples/validate/validate.cpp