]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/textctrl.cpp
adding x server license terms for polygon methods
[wxWidgets.git] / src / x11 / textctrl.cpp
index d37b6670680ca3a6c23facb05ce649bef8df2a6c..b214e264e1543fb808580932b3496b6006ef59f5 100644 (file)
@@ -1896,7 +1896,7 @@ void wxTextCtrl::OnChar( wxKeyEvent &event )
         {
             if (m_windowStyle & wxTE_PROCESS_ENTER)
             {
-                wxCommandEvent event(wxEVT_COMMAND_TEXT_ENTER, m_windowId);
+                wxCommandEvent event(wxEVT_TEXT_ENTER, m_windowId);
                 event.SetEventObject(this);
                 event.SetString(GetValue());
                 if (HandleWindowEvent(event)) return;