I want solve this problem.
Everythink is ok, except getting coordinates x and y from WxPoint object.
I don't know, how can I acces properties "x", "y" of this object. e.g wxPython allows this by "somepoint.x
", but WxPerl? somepoint->{"x"}
doesn't work, because object is SCALAR reference..
Thank you
The following should do what you're looking for:
my $point = $frame->GetPosition;
my $x = $point->x;
my $y = $point->y;