]> git.saurik.com Git - wxWidgets.git/commitdiff
create in place edit control with wxTE_PROCESS_ENTER style as otherwise it's not...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 14 Jan 2007 21:04:27 +0000 (21:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 14 Jan 2007 21:04:27 +0000 (21:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index a1fc2233dbd53dbd6fd6375d8495271dc52213e7..2fab29c85ccc76a2033ec514e9f80223e7e63f22 100644 (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
                               );