create in place edit control with wxTE_PROCESS_ENTER style as otherwise it's not closed on Enter when used inside a panel or a dialog (which uses Enter for dialog navigation) (patch 1630586)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-01-14 21:04:27 +00:00
parent 0d3997fd6d
commit b8508db8b4

View File

@ -627,7 +627,11 @@ void wxGridCellTextEditor::Create(wxWindow* parent,
m_control = new wxTextCtrl(parent, id, wxEmptyString,
wxDefaultPosition, wxDefaultSize
#if defined(__WXMSW__)
, wxTE_PROCESS_TAB | wxTE_AUTO_SCROLL | wxNO_BORDER
,
wxTE_PROCESS_ENTER |
wxTE_PROCESS_TAB |
wxTE_AUTO_SCROLL |
wxNO_BORDER
#endif
);