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