X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6519b40fe9f5e4706e02497fe01ff71c65079d6..e8a8d0dc2ddfae4aa8d5fd832f7644a32773aac9:/src/motif/textctrl.cpp diff --git a/src/motif/textctrl.cpp b/src/motif/textctrl.cpp index d09a620465..8213b6b8cd 100644 --- a/src/motif/textctrl.cpp +++ b/src/motif/textctrl.cpp @@ -240,7 +240,7 @@ wxString wxTextCtrl::GetValue() const return str; } -void wxTextCtrl::ChangeValue(const wxString& text) +void wxTextCtrl::DoSetValue(const wxString& text, int flags) { m_inSetValue = true; @@ -254,6 +254,9 @@ void wxTextCtrl::ChangeValue(const wxString& text) m_modified = true; m_inSetValue = false; + + if ( flags & SetValue_SendEvent ) + SendTextUpdatedEvent(); } // Clipboard operations