wxSplitterWindow and Replace Window

Hi,

I have two panels, A and B.
I have a splitter window and I want to be able to go back and forth
between panels when I click the events in a ComboBox

I use GetWindow2 with ReplaceWindow. However it would work where
A is replace by B, but B cannot be replace by A. I have tried using Hide,
and Show, but have no luck.

Will someone point me to some examples or another way to tackle this
problem? Thanks
kit