I've noticed that the wxComboBox demo in the main wxPython demo
doesn't actually process the enter key like the overview claims,
"...the first ComboBox is set up to handle EVT_TEXT_ENTER events..."
It seems that the problem is just that line 30 of the source code,
specifying the wx.TE_PROCESS_ENTER style flag, is commented out --
uncommenting it does then show a message when enter is hit.
Probably just an experiment that didn't get undone.
···
On 5/14/10 2:52 PM, Joel Koltner wrote:
I've noticed that the wxComboBox demo in the main wxPython demo
doesn't actually process the enter key like the overview claims,
"...the first ComboBox is set up to handle EVT_TEXT_ENTER events..."
It seems that the problem is just that line 30 of the source code,
specifying the wx.TE_PROCESS_ENTER style flag, is commented out --
uncommenting it does then show a message when enter is hit.