From 5d95cab89dcb9914247d803a70bef9e443bad4c5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 2 Jul 2006 01:08:46 +0000 Subject: [PATCH] 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 --- src/common/combocmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 4f327c2c5a..c06b0bfaa4 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -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, -- 2.50.0