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:
@@ -754,7 +754,7 @@ wxComboCtrlBase::CreateTextCtrl(int style, const wxValidator& validator)
|
|||||||
// navigation event is then sent to the wrong window.
|
// navigation event is then sent to the wrong window.
|
||||||
style |= wxTE_PROCESS_TAB;
|
style |= wxTE_PROCESS_TAB;
|
||||||
|
|
||||||
if ( HasFlag(wxPROCESS_ENTER) )
|
if ( HasFlag(wxTE_PROCESS_ENTER) )
|
||||||
style |= wxTE_PROCESS_ENTER;
|
style |= wxTE_PROCESS_ENTER;
|
||||||
|
|
||||||
m_text = new wxTextCtrl(this, wxID_ANY, m_valueString,
|
m_text = new wxTextCtrl(this, wxID_ANY, m_valueString,
|
||||||
|
Reference in New Issue
Block a user