AGW HyperTreeList Bug and GetPrev

Hi
1. Is there any reason why "GetRrev" is not an exposed method? I add
this to _methods list and it seems working fine.

2. Line 2332
i = self.GetPrev(i, False)

This line is causing the following errors:

  File "c:\python27\lib\site-packages\wx-2.8-msw-unicode\wx\lib\agw
\hypertreelist.py", line 2332, in GetPrevVisible
    i = self.GetPrev(i, False)
TypeError: GetPrev() takes exactly 2 arguments (3 given)

The fix seems easy just remove the second "False" argument.

Xiang

Hi,

Hi

  1. Is there any reason why “GetRrev” is not an exposed method? I add

this to _methods list and it seems working fine.

  1. Line 2332

i = self.GetPrev(i, False)

This line is causing the following errors:

File "c:\python27\lib\site-packages\wx-2.8-msw-unicode\wx\lib\agw

\hypertreelist.py", line 2332, in GetPrevVisible

i = self.GetPrev(i, False)

TypeError: GetPrev() takes exactly 2 arguments (3 given)

The fix seems easy just remove the second “False” argument.

Xiang

Thank you for the bug report, it should be fixed now in SVN.

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 3 October 2011 20:37, zliwang wrote:

import wx

I tried the latest code yes it;s working now. Thanks for great work!

···

On Oct 5, 2:02 pm, Andrea Gavana <andrea.gav...@gmail.com> wrote:

Hi,

On 3 October 2011 20:37, zliwang wrote:

> Hi
> 1. Is there any reason why "GetRrev" is not an exposed method? I add
> this to _methods list and it seems working fine.

> 2. Line 2332
> i = self.GetPrev(i, False)

> This line is causing the following errors:

> File "c:\python27\lib\site-packages\wx-2.8-msw-unicode\wx\lib\agw
> \hypertreelist.py", line 2332, in GetPrevVisible
> i = self.GetPrev(i, False)
> TypeError: GetPrev() takes exactly 2 arguments (3 given)

> The fix seems easy just remove the second "False" argument.

> Xiang

Thank you for the bug report, it should be fixed now in SVN.

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 "<interactive input>", line 1, in <module>
ImportError: No module named PyQt4.QtGui

>>> import pygtk

Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
ImportError: No module named pygtk

>>> import wx