wxAuiNotebook Tab Order Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Can't get richer than this
Can't get richer than this
Posts: 741
Joined: Tue Mar 31, 2009 2:11 am

wxAuiNotebook Tab Order

Post by miclus » Thu Oct 01, 2009 5:42 am

Hi. I'm trying to remember the tab order between program runs. I devised a scheme to save it as a string in the end, but the problem is the indices of the tabs don't change if you drag them. So, say I start with


and drag W to front


W will still have index of 1, so I can't seem to think of a way to get the final ordering on program close. Any ideas?

Earned some good credits
Earned some good credits
Posts: 148
Joined: Mon Jan 23, 2006 6:52 pm

Post by timg » Thu Oct 01, 2009 6:48 am

I was looking for something similar - I needed to get the pages in the order they are displayed after the user rearranged them.

I found this patch. It did what I needed, but from the comments, it's not quite perfect.


Post Reply