X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/os2/textctrl.cpp diff --git a/src/os2/textctrl.cpp b/src/os2/textctrl.cpp index 3be381a95f..8c38420a4a 100644 --- a/src/os2/textctrl.cpp +++ b/src/os2/textctrl.cpp @@ -1044,7 +1044,7 @@ void wxTextCtrl::OnChar( case WXK_RETURN: if ( !(m_windowStyle & wxTE_MULTILINE) ) { - wxCommandEvent vEvent(wxEVT_COMMAND_TEXT_ENTER, m_windowId); + wxCommandEvent vEvent(wxEVT_TEXT_ENTER, m_windowId); vEvent.SetEventObject(this); if ( HandleWindowEvent(vEvent)) @@ -1105,7 +1105,7 @@ bool wxTextCtrl::OS2Command( break; } - wxCommandEvent vEvent( wxEVT_COMMAND_TEXT_UPDATED + wxCommandEvent vEvent( wxEVT_TEXT ,m_windowId );