It looks like I was wrong about
one part. Upgrading to wxPython 2.6.4.0 did not solve the problem because
the wxPython 2.6.4.0 installer defaulted to the wrong install path, so I was
really still using wxPython 2.6.1.0. Once I installed wxPython 2.6.4.0
correctly, this problem with CustomTreeCtrl was solved.
There are two things worth
noting from this:
-
CustomTreeCtrl doesn’t
appear to work with wxPython 2.6.1.0. This may be worth mentioning in the
module documentation. -
The binary installer for
wxPython 2.6.4.0, wxPython2.6-win32-unicode-2.6.4.0-py24.exe,
that I downloaded from sourceforge, has a default install path of C:\Python24Lib\site-packages
for a system with Python installed to C:\Python24. It’s missing the
slash between the Python24 and Lib directories. If the user does not
correct this during installation they will not end up with a valid wxPython
installation. I’m not familiar with the procedure for updating an
installer on sourceforge (should I file a bug report?), but this seems like it
should be fixed.
Cheers,
Casey