[vtkusers] wxPython and VTK

Torsten Sadowski moehl at akaflieg.extern.tu-berlin.de
Tue Jan 27 05:12:54 EST 2004


I had the same problem. It is Windows(MS not WX) related and might be a
OpenGL problem. the solution for me was to add

    def __del__(self):
        self.renderer.GetProps().RemoveAllItems()

to my subclass of wxVTKRenderWindow.

Torsten

On Tue, 27 Jan 2004, REGAT-BARREL Aurélien wrote:

> Hello,
> I'm using VTK 4.2 with Python 2.3 and wxWindows (wxPython) under Windows.
> Problem : wxVTKRenderWindow crashes on exit (fatal error on python.exe). wxPython doesn't like VTK.




More information about the vtkusers mailing list