X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6636ef8ddf9eda0d0352c29d98cb141676a51a2d..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/motif/textctrl.cpp?ds=sidebyside diff --git a/src/motif/textctrl.cpp b/src/motif/textctrl.cpp index f637e1fa42..03514e834d 100644 --- a/src/motif/textctrl.cpp +++ b/src/motif/textctrl.cpp @@ -470,7 +470,7 @@ void wxTextCtrl::DoSendEvents(void *wxcbs, long keycode) if ( !InSetValue() && m_processedDefault ) { // Can generate a command - wxCommandEvent commandEvent(wxEVT_COMMAND_TEXT_UPDATED, GetId()); + wxCommandEvent commandEvent(wxEVT_TEXT, GetId()); commandEvent.SetEventObject(this); ProcessCommand(commandEvent); } @@ -687,7 +687,7 @@ static void wxTextWindowActivateProc(Widget w, XtPointer clientData, if (tw->InSetValue()) return; - wxCommandEvent event(wxEVT_COMMAND_TEXT_ENTER); + wxCommandEvent event(wxEVT_TEXT_ENTER); event.SetId(tw->GetId()); event.SetEventObject(tw); tw->ProcessCommand(event);