Alexandr Ciornii <alexcho...@gmail.com> 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.
> Here is my code:

Have you tried:

   my $point = $event->GetPoint;
   $self->PopupMenu( $menu, $point );

-- Johan

Reply via email to