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
miclus
Can't get richer than this
Can't get richer than this
Posts: 747
Joined: Tue Mar 31, 2009 2:11 am

wxAuiNotebook Tab Order

Post by miclus »

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

S W P

and drag W to front

W S P

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?
timg
Earned some good credits
Earned some good credits
Posts: 148
Joined: Mon Jan 23, 2006 6:52 pm

Post by timg »

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.

http://trac.wxwidgets.org/ticket/10848
Post Reply