2012/12/9 Johan Vromans <[email protected]>: > Alexandr Ciornii <[email protected]> writes: > >> I'm writing a program that uses Wx::TreeListCtrl. I want to show >> context menu on right click. But event has coordinates (0,0), so >> context menu is shown in the incorrect place. > > Have you tried: > > my $point = $event->GetPoint; > $self->PopupMenu( $menu, $point );
Yes, with same result. $point is {x=>0, y=>0}.
--
Alexandr Ciornii, http://chorny.net
