unable to use property() with wxPython classes?

Kevin Altis wrote:

Is it possible to use new-style class properties with wxPython classes? If
so, what am I doing wrong in the example code below? The documentation shows
that you need to subclass object to use property() but wxPython doesn't like
that.

  http://www.python.org/doc/current/lib/built-in-funcs.html#l2h-57

I tested the code at the end of this message on Win2K with wxPython 2.4.1.2
and Python 2.2.3 and Python 2.3. Both produce the following traceback when
the button is created.

This is a known problem that I havn't found a solution for yet, (but then I havn't spent a whole lot of time on it yet either...)

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!