AuiNotebook
------------
[Tab 1] [Tab 2] [Tab 3] [Tab 4]
When I move Tab 3 before Tab 1, wxEVT_COMMAND_AUINOTEBOOK_END_DRAG is fired in which I have:
Code: Select all
for (int i=0; i < AuiBook->GetPageCount(); i++ ) {
AuiBook->SetPageText(i, wxT("Tab ") + wxString::Format(wxT("%i"),i) );
}
In order to find the right index I also tried the following but without success:
AuiBook->GetPageIndex( AuiBook->GetPage(i) )
Any help?