[wxPython] Can't use keyboard of "enter" to input value on cell

It’s possible that the version of wxPython could be causing other problems. When I replaced the EndEdit() code in your program with the code I posted above, I was able to complete the editing of a cell and move to the next cell below by pressing the Enter key (and also by using the Tab key). I am using Python 3.10.12 + wxPython 4.2.1 gtk3 (phoenix) wxWidgets 3.2.2.1 on Linux Mint 21.2.

I would certainly recommend upgrading to wxPython 4.2.1 if you are able, as it contains many improvements and bug fixes compared to 4.0.4.

EDIT: I came across the following thread:

In that thread @Robin said

It looks like several virtual methods are missing there. I’ve created an issue at GitHub to track work on this fix.

He raised an issue for it on GitHub:

That issue was fixed by:

The fix was merged on March 13, 2020. Therefore the earliest wxPython version it could have appeared in would be 4.1.0 (released April 24, 2020). Perhaps these missing virtual methods are causing your problem?