Problem with wx.SplitterWindow and wx.TreeListCtrl ?

BETTLER Emmanuel wrote:

Hi all,
in a TreeListCtrl, i want to retrieve info about which column has been clicked etc... i'm using the example of the demo but i've this error message: AttributeError: 'TreeEvent' object has no attribute 'GetPosition'

What kind of event is it? In the demo the GetPosition is used in a method bound to EVT_RIGHT_UP, which is a wx.MouseEvent, which does have a GetPosition. If you are getting a wx.TreeEvent then you are binding some other event type.

the only difference between my script and the demo is the use of wx.SplitterWindow

This probably has nothing to do with it.

ยทยทยท

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