Missing methods in some installs

This has really confused me. Some installs seem to differ and I'm not sure why..
I found these two docs for generictreeitem and they both disagree about which
methods are in which. (The second has 3State methods where the first doesn't)

http://www.wxpython.org/docs/api/wx.lib.agw.customtreectrl.GenericTreeItem-
class.html

http://xoomer.virgilio.it/infinity77/AGW_Docs/customtreectrl.GenericTreeItem.html

On Python 2.6, gtk2, wx 2.8.10.x I have the 3State methods
On Python 2.7, win32, wx 2.8.12.x I have the 3State methods
But in Python 2.7, gtk2, wx 2.8.11.x I don't have them

What is the reason for this? Have they been taken out of wx and put back in? are
they no longer supported in gtk2? This is really confusing me and breaking some
code I wrote too

Hi,

This has really confused me. Some installs seem to differ and I’m not sure why…

I found these two docs for generictreeitem and they both disagree about which

methods are in which. (The second has 3State methods where the first doesn’t)

[wxPython API Documentation — wxPython Phoenix 4.2.2 documentation

class.html](wxPython API Documentation — wxPython Phoenix 4.2.2 documentation
class.html)

http://xoomer.virgilio.it/infinity77/AGW_Docs/customtreectrl.GenericTreeItem.html

On Python 2.6, gtk2, wx 2.8.10.x I have the 3State methods

On Python 2.7, win32, wx 2.8.12.x I have the 3State methods

But in Python 2.7, gtk2, wx 2.8.11.x I don’t have them

What is the reason for this? Have they been taken out of wx and put back in? are

they no longer supported in gtk2? This is really confusing me and breaking some

code I wrote too

GenericTreeItem lives in the wx.lib.agw.customtreectrl module, part of the AGW library. AGW, as other “external” libraries in wx.lib, lives its own life in the wxPython SVN repository. Every time Robin puts together a release, the latest SVN version of these libraries gets pulled and included in the standard wxPython distribution. Whether it is GTK/Win/Mac, AGW doesn’t care as pretty much everything is supported on all platforms. CustomTreeCtrl is for sure.

I have no idea why your installs are different, but my suggestion would be to get your own latest copy of AGW from SVN and redistribute it with your application as external library.

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.alice.it/infinity77/

import PyQt4.QtGui

Traceback (most recent call last):

File “”, line 1, in

ImportError: No module named PyQt4.QtGui

import pygtk

Traceback (most recent call last):

File “”, line 1, in

ImportError: No module named pygtk

···

On 12 October 2011 12:42, Paul wrote:

import wx