]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
cocoa wiring
[wxWidgets.git] / src / os2 / textctrl.cpp
index 3be381a95f154c62551524b43d0bb9327f2a8698..8c38420a4aa61b08b5c47858c8187af252ad8b79 100644 (file)
@@ -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
                                           );