]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/iphone/window.mm
adding hook, but unfortunately no solution yet for wxComboBox::SetEditable
[wxWidgets.git] / src / osx / iphone / window.mm
index 2ad2b7e27f9107bda00d7c73ee7d2ec342ca3100..79abdfa1b096d376fa562b7ff7a8fba1fcd30023 100644 (file)
@@ -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 );