-
- // change allowed: do change the page and notify the user about it
- SetSelection(selNew);
-
- wxListbookEvent eventEd(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, GetId());
-
- eventEd.SetEventObject(this);
- eventEd.SetSelection(selNew);
- eventEd.SetOldSelection(selOld);
-
- (void)GetEventHandler()->ProcessEvent(eventEd);