wxNotebookEvent event(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, GetId(),
[GetNSTabView() indexOfTabViewItem:tabViewItem], GetSelection());
event.SetEventObject(this);
- return !GetEventHandler()->ProcessEvent(event) || event.IsAllowed();
+ return !HandleWindowEvent(event) || event.IsAllowed();
}
#endif // wxUSE_NOTEBOOK