X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/005ac806ead92411ad4810d407df311e4a608302..4a0dcc87af44792d5dc993daa5b20f10348233da:/src/osx/textentry_osx.cpp diff --git a/src/osx/textentry_osx.cpp b/src/osx/textentry_osx.cpp index 3e2ca4f22d..2d9d79a0e2 100644 --- a/src/osx/textentry_osx.cpp +++ b/src/osx/textentry_osx.cpp @@ -148,6 +148,8 @@ wxTextPos wxTextEntry::GetLastPosition() const void wxTextEntry::Remove(long from, long to) { GetTextPeer()->Remove( from , to ) ; + + SendTextUpdatedEventIfAllowed(); } void wxTextEntry::SetSelection(long from, long to) @@ -158,11 +160,15 @@ void wxTextEntry::SetSelection(long from, long to) void wxTextEntry::WriteText(const wxString& str) { GetTextPeer()->WriteText( str ) ; + + SendTextUpdatedEventIfAllowed(); } void wxTextEntry::Clear() { GetTextPeer()->Clear() ; + + SendTextUpdatedEventIfAllowed(); } bool wxTextEntry::IsEditable() const