wx.EVT_TREE_BEGIN_DRAG on 2.6.3.2

Hi John,

if u look at the thread u can see andrea confirming the bug on 2.6.3.2.

But I diff tried his treectrl and I am getting an error on my 2.6.1.0 installation

AttributeError: ‘module’ object has no attribute ‘CONTROL_EXPANDED’
Traceback (most recent call last):
File “D:\Tree\CustomTreeCtrl.py”, line 4494, in OnPaint
self.PaintLevel(self._anchor, dc, 0, y)
File “D:\Tree\CustomTreeCtrl.py”, line 4429, in PaintLevel
flag |= wx.CONTROL_EXPANDED
AttributeError: ‘module’ object has no attribute ‘CONTROL_EXPANDED’

cheers

···

Thomas Thomas

phone +64 7 855 8478
fax +64 7 855 8871

Andrea can probably answer this better, but perhaps try his latest version that he released today. He revised the definitions in the module.

···

On May 22, 2006, at 6:09 PM, Thomas Thomas wrote:

Hi John,

if u look at the thread u can see andrea confirming the bug on 2.6.3.2.

But I diff tried his treectrl and I am getting an error on my 2.6.1.0 installation

AttributeError: ‘module’ object has no attribute ‘CONTROL_EXPANDED’
Traceback (most recent call last):
File “D:\Tree\CustomTreeCtrl.py”, line 4494, in OnPaint
self.PaintLevel(self._anchor, dc, 0, y)
File “D:\Tree\CustomTreeCtrl.py”, line 4429, in PaintLevel
flag |= wx.CONTROL_EXPANDED
AttributeError: ‘module’ object has no attribute ‘CONTROL_EXPANDED’

cheers


Thomas Thomas

phone +64 7 855 8478
fax +64 7 855 8871


John Jackson