don't use old name for wxTE_PROCESS_ENTER unavailable when compatibility is off

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-07-02 01:08:46 +00:00
parent b524b5c6f8
commit 5d95cab89d

View File

@@ -754,7 +754,7 @@ wxComboCtrlBase::CreateTextCtrl(int style, const wxValidator& validator)
// navigation event is then sent to the wrong window.
style |= wxTE_PROCESS_TAB;
if ( HasFlag(wxPROCESS_ENTER) )
if ( HasFlag(wxTE_PROCESS_ENTER) )
style |= wxTE_PROCESS_ENTER;
m_text = new wxTextCtrl(this, wxID_ANY, m_valueString,