Hi,
I have a splitterwindow and I need to change the bottom panel on user
interaction.
Sometimes it needs to be a ListCtrlPanel, sometimes just some statictext.
I wondered what would be the easiest way. This change has to happen in
methods from the class that is inherited from wx.SplitterWindow.
- I first thought I would add a sizer to the bottom panel and add and
remove items to the sizer. Then I have to keep track of the item in
the sizer.
- I also tried just destroying the bottom panel and recreating it
again, but that did not work. Do I have to add it to the
splitterwindow again? (And if yes, how?)
Both option seemed quite cumbersome. Do I miss an option?
So should I let bottom be a panel and add and remove widgets to/from it?
Or should I change the whole panel (and add it to the splitterwindow again)?
thanks,
TiNo