From 109b9ba582fb6166a7f6da28f78dc7ffb8b19d30 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 26 Feb 2005 03:16:46 +0000 Subject: [PATCH] The key event for the shift key should not start the cell editor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 10c5b9d030..4719021146 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -552,7 +552,7 @@ void wxGridCellEditor::HandleReturn(wxKeyEvent& event) bool wxGridCellEditor::IsAcceptedKey(wxKeyEvent& event) { // accept the simple key presses, not anything with Ctrl/Alt/Meta - return !(event.ControlDown() || event.AltDown()); + return !(event.ControlDown() || event.AltDown() || event.GetKeyCode() == WXK_SHIFT); } void wxGridCellEditor::StartingKey(wxKeyEvent& event)