Fix extra event sent by wxTextEntry::ChangeValue() since r71308.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 11 May 2012 22:10:25 +0000 (22:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 11 May 2012 22:10:25 +0000 (22:10 +0000)
commit0b61390646d17c263e0a862acc998ba9dbd91d0e
tree2ed6b8cac774731e3370a0e81fe5fdcf8c7d98c7
parent8b180bded61df267e5f45f4ec0cccf6b52d36ae2
Fix extra event sent by wxTextEntry::ChangeValue() since r71308.

The changes of r71308 sent the event unconditionally in case the text didn't
really change but no events should be sent if the flags don't include
SetValue_SendEvent, add a check for it.

Re-closes #13936.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/textentrycmn.cpp