There's a Reparent:Int(newParent:wxWindow) method.
Are you using a wxWindow as a "Window", or do you mean you have a wxWindow child on a wxFrame that loses Z-order against other children when you change tabs?
Are you using a wxWindow as a "Window", or do you mean you have a wxWindow child on a wxFrame that loses Z-order against other children when you change tabs?