wxperl drag and drop

2014-06-13 Thread James Howell
i use the following code to allow dragging and dropping files: $frame->DragAcceptFiles(1); EVT_DROP_FILES( $frame, \&doit ); sub doit { warn "@_\n" } but i cannot for the life of me figure out how to associate the dropped file with a file handle. if you could give me an example it would be apprec

Re: wxperl drag and drop

2014-06-13 Thread James Howell
if it helps any i just want to drag and drop a file onto the gui anywhere and send it directly to a subroutine without using any buttons or any other widget On Fri, Jun 13, 2014 at 2:32 AM, James Howell wrote: > i use the following code to allow dragging and dropping files: > &g