X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d294e51cd846e312a3ca78ccb0e69aa05bd5233..3678169caab0f713415414dce013a638305f3cce:/src/osx/iphone/window.mm diff --git a/src/osx/iphone/window.mm b/src/osx/iphone/window.mm index 2ad2b7e27f..79abdfa1b0 100644 --- a/src/osx/iphone/window.mm +++ b/src/osx/iphone/window.mm @@ -793,7 +793,7 @@ void wxWidgetIPhoneImpl::controlTextDidChange() wxTextCtrl* wxpeer = wxDynamicCast((wxWindow*)GetWXPeer(),wxTextCtrl); if ( wxpeer ) { - wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, wxpeer->GetId()); + wxCommandEvent event(wxEVT_TEXT, wxpeer->GetId()); event.SetEventObject( wxpeer ); event.SetString( wxpeer->GetValue() ); wxpeer->HandleWindowEvent( event );