[wxPython] Replace window?

Hi

I need to replace a window, that has a wxPanel for a parent, with another
window. I've tried to just destroy() the window but that makes the program
GPF (bug?). Is there another way to replace an existing window with
another? The only other way I can think of is to use MDI.

I don't know if this makes a difference, but I'm also applying constraints
on the window I need to replace.

Thanks

···

--
------------------
Sarel Botha
sjbotha@email.com
------------------

99 little bugs in the code, 99 bugs in the code,
          fix one bug, compile it again...
          101 little bugs in the code....