X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..44c8e75ba92de8f003f193f1e80b374b3402419d:/src/univ/textctrl.cpp diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 041ea21d51..25a44a78eb 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -4709,7 +4709,7 @@ bool wxTextCtrl::PerformAction(const wxControlAction& actionOrig, { wxASSERT_MSG( IsEditable(), wxT("non editable control changed?") ); - wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, GetId()); + wxCommandEvent event(wxEVT_TEXT, GetId()); InitCommandEvent(event); GetEventHandler()->ProcessEvent(event); @@ -4733,7 +4733,7 @@ void wxTextCtrl::OnChar(wxKeyEvent& event) { if ( IsSingleLine() || (GetWindowStyle() & wxTE_PROCESS_ENTER) ) { - wxCommandEvent event(wxEVT_COMMAND_TEXT_ENTER, GetId()); + wxCommandEvent event(wxEVT_TEXT_ENTER, GetId()); InitCommandEvent(event); event.SetString(GetValue()); GetEventHandler()->ProcessEvent(event);