From: Mattia B. <mb...@ds...> - 2002-05-21 07:03:14
|
On Tue, 21 May 2002, Graciliano M. P. (Virtua Sites) wrote: >I'm using a event size to organize my objects in the frame. But the EVT_SIZE >only work if I define it for one object. If I try more then 1 it doesn't >work! :/ > >Sample: >... > > use Wx::Event qw(EVT_SIZE) ; > > EVT_SIZE( > $obj , > sub { &My_obj_config($obj, $pos , $size) } > ) ; > >... ? I don't understand. You say that it does not work for "more than one", but here I see just one EVT_SIZE; also, where do $pos and $size in the event handler come from? Regards Mattia |