[vtkusers] import wx or wxPython - depreciation warning in wxVTKRenderWindowInteractor.py

Dan White dan at chalkie.org.uk
Thu Nov 2 05:37:33 EST 2006


Hi wxPython VTK users/developers,

I see this same depreciation warning when launching our bioimagexd  
program on OSX intel
which uses VTK via
universal python2.5 and universal wxPython2.7

white:~ dan$ python2.5
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> from wxPython.wx import *
__main__:1: DeprecationWarning: The wxPython compatibility package is  
no longer automatically generated or activly maintained.  Please  
switch to the wx package as soon as possible.

but this works with no warning
 >>> from wx import *
 >>>


so does that mean that in VTK
wxVTKRenderWindowInteractor.py

should have at line 37
from wx.wx import *
not
from wxPython.wx import *

maybe other places too?

or am I barking up the wrong tree here......?

cheers

Dan

Dr. Daniel James White BSc. (Hons.) PhD
Bioimaging Coordinator
Nanoscience Centre and Department of Biological and Environmental  
Sciences
Division of Molecular Recognition
Ambiotica C242
PO Box 35
University of Jyväskylä
Jyväskylä
FIN 40014
Finland

+358 14 260 4183 (work)
+358 468102840 (mobile)
http://www.bioimagexd.org
http://www.chalkie.org.uk
dan at chalkie.org.uk
white at cc.jyu.fi





More information about the vtkusers mailing list