In SearchCtrl, my previous code was:
self.search = wx.SearchCtrl(self, size=(200,-1), style=wx.TE_PROCESS_ENTER)
self.Bind(wx.EVT_TEXT_ENTER, self.OnDoSearch, self.search)
self.search.ShowCancelButton(True)
self.search.SetFocus()
Entering data in the search box and hitting enter triggered self.OnDoSearch,
Under 4.2.0 the enter key is ignored unless:
self.Bind(wx.EVT_SEARCHCTRL_SEARCH_BTN, self.OnDoSearch, self.search)
is added, then it works. It is the same in the demo, so I assume it is intended but I can’t find any reference to this new behaviour…