]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
correct placard under toolbar
[wxWidgets.git] / src / generic / grid.cpp
index 10c5b9d03067581503c096f4391c2aa49ff85e02..47190211460c7e982582c7540dd204315a7c9a30 100644 (file)
@@ -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)