X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7f0034828cfc121014b3e1e29bba583fb6d832..cc4d5638c66a409e421420ed7110917755a66788:/src/univ/textctrl.cpp diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 8c3875cc82..b0efa231f6 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 15.09.00 -// RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -764,7 +763,7 @@ bool wxTextCtrl::Create(wxWindow *parent, return true; } -wxTextCtrl::~wxTextCtrl() wxNOEXCEPT +wxTextCtrl::~wxTextCtrl() { delete m_cmdProcessor; @@ -4709,7 +4708,7 @@ bool wxTextCtrl::PerformAction(const wxControlAction& actionOrig, { wxASSERT_MSG( IsEditable(), wxT("non editable control changed?") ); - wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, GetId()); + wxCommandEvent event(wxEVT_TEXT, GetId()); InitCommandEvent(event); GetEventHandler()->ProcessEvent(event); @@ -4733,7 +4732,7 @@ void wxTextCtrl::OnChar(wxKeyEvent& event) { if ( IsSingleLine() || (GetWindowStyle() & wxTE_PROCESS_ENTER) ) { - wxCommandEvent event(wxEVT_COMMAND_TEXT_ENTER, GetId()); + wxCommandEvent event(wxEVT_TEXT_ENTER, GetId()); InitCommandEvent(event); event.SetString(GetValue()); GetEventHandler()->ProcessEvent(event);