Weirdness moving from 4.0.1 to 4.2.0

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…

This topic was previously discussed here:

I notice that wx.EVT_SEARCHCTRL_SEARCH_BTN did appear in the documentation for v4.0.7, but not in the documentation for v4.1.1 or v4.2.0.

Perhaps a regression occurred in the documentation source?

Excellent, thanks for the pointer.