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))
break;
}
- wxCommandEvent vEvent( wxEVT_COMMAND_TEXT_UPDATED
+ wxCommandEvent vEvent( wxEVT_TEXT
,m_windowId
);