The user code may handle this event, meaning that its handler in wxNotebook itself is never invoked, but this broke actually changing the pages. Fix this by doing the page change in the code handling the underlying OS X event directly. Closes #17197.