Page 1 of 1

wxGrid and wxGridCellChoiceEditor and Enter key

Posted: Thu Apr 12, 2007 2:56 pm
by ddv
Hello, I know this was (little) discussed but I still don't know the full way (without changing the wxWidgets sources) to have a working editable wxGrid.

With a wxGridCellChoiceEditor, the only key that make a EVT_GRID_CELL_CHANGE event is the TAB.
If I type some text in the combo and I press Enter, or if I select some text in the list and I press Enter, nothing happens except the cursor go to the next cell.
Same happens if I select some text in the list with the mouse, so this does not seems to be only an key problem.

I tried making my own wxGridCellChoiceEditor creating a combobox with the wxTE_PROCESS_ENTER flag but it changes nothing.

This is an very important bug, because this make the grid unusable for edition, and I can't imagine nobody have an acceptable solution.

I am using wx 2.6.3 but this bug does not seem to be fixed in the 2.8.0 ?

Thanks for any help.

Note: wxWidgets 2.6.3, Windows 2K