From: segfault on
I am vetoing a page close event for wxAuiNotebook. However when I try to do
wxAuiNotebookEvent::GetSelection, when the tab is split, it returns the
selection as -1

Should I not use event.GetSelection() ? It works perfectly as long as the
tab is not split, when I dock a tab to another area and try to close the
index returns as -1 and crashes.

Explanation?

Cheers.

wxWidgets version 2.8.7