GridCustEditor.py and wxDialog

From Robin Dunn,

Jean-Michel Fauth wrote:

Hi

I took the GridCustEditor.py from the demo and put it
on a wxDialog instead of a wxFrame.

The problem is that I can not close and quit
the cell editor with a cr.

The messages I got: from the cell editor are

MyCellEditor ctor
MyCellEditor: IsAcceptedKey: 32
MyCellEditor: Create
MyCellEditor: SetSize (0, 16, 149, 16)

than nothing.

The Dialog steals the ENTER and uses it for navigation. Does using the
wxTE_PROCESS_ENTER style for the text ctrl help?

Oh yes, I had this idea one hour ago!
Thanks

jmf