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
{
// Except that we still need to generate the event for consistency with
// the normal case when the text does change.
- SendTextUpdatedEvent(GetEditableWindow());
+ if ( flags & SetValue_SendEvent )
+ SendTextUpdatedEvent(GetEditableWindow());
}
SetInsertionPoint(0);