[vtkusers] wxVTKRenderWindowInteractor inside wxNotebook crashes

Prabhu Ramachandran prabhu_r at users.sf.net
Wed Feb 23 01:10:03 EST 2005


>>>>> "KP" == Kalle Pahajoki <kalpaha at st.jyu.fi> writes:

    KP> p=wxPanel(self,-1) and change the line
                  ^^^^^

That should be wxPanel(nb, -1)!

Besides, why do you need to use a panel?  For some reason the sizing
of the panel is badly affected and I only get a tiny window embedded.
Use a SplitterWindow instead.  It works and looks nicer as well.

[...]
    KP> from wxPython.wx import * 
    KP> from vtk import * 

Importing so many symbols is generally bad practice and can lead to
heartache.  I would assiduously avoid such imports.

prabhu



More information about the vtkusers mailing list