Problems with the wxVTKRenderWindow
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Reported by Benoit Regrain
Hi VTK developpers,
It seems I have found a bug in the Wrapping/Python/vtk/wx/wxVTKRenderWindow.py file. I join an example and the diff that solve this problem.
The problem is when the wxVTKRenderWindow musn't immediately shown like the example. The interface contains 2 panels controled by a Book. The first tab is empty and the second contains the VTK RenderWindow
The RenderWindow are in a panel that isn't visible when the application is launch. But in the wxVTKRenderWindow.py file, all the parent of the created widget are forced to be visible. Thus, the panel containing this windows is visible when it might be hidden...
When removing these lines showing all parents of the widget, the problem is solved.
I hope you would consider this patch. Cheers