The following snippet of code is used to display a menu on a
wxTreeListCtrl.
However, the menu is shown not on the position of the mouse pointer (as
it is supposed to do), but a almost a line above it. Also, the HitTest
gives me the wrong item back. As a matter of fact it gives the item
ABOVE the item that it is positioned at.
The following snippet of code is used to display a menu on a
wxTreeListCtrl.
However, the menu is shown not on the position of the mouse pointer (as
it is supposed to do), but a almost a line above it. Also, the HitTest
gives me the wrong item back. As a matter of fact it gives the item
ABOVE the item that it is positioned at.
The same code is working OK on a wxListCtrl. So is it a bug???
It's probably not taking into account the size of the header window, I seem to recall something like this being fixed a while back in wxListCtrl. Alberto, can you look into this?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!