wxAuiNotebookEvent::GetSelection problem with tab split

segfault segfault3 at gmail.com
Tue May 6 12:01:00 PDT 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080506/1fa=
df683/attachment.htm


More information about the wx-users mailing list