Don't rely on getting PAGE_CHANGED event in wxOSX wxNotebook

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.
This commit is contained in:
John Roberts
2015-10-13 14:31:14 +02:00
committed by Vadim Zeitlin
parent f68c88b8d2
commit b9b9a30bc7
2 changed files with 6 additions and 27 deletions

View File

@@ -99,7 +99,6 @@ public:
// callbacks
// ---------
void OnSize(wxSizeEvent& event);
void OnSelChange(wxBookCtrlEvent& event);
void OnSetFocus(wxFocusEvent& event);
void OnNavigationKey(wxNavigationKeyEvent& event);