I have found the solution, the eventhandler needs to be named
EVT_SPINCTRL
The documentation is wrong here.
Am 22.06.2010 um 02:43 schrieb ademmler:
Hi,
I am using wxPerl on Mac OS X trying to use SpinButtons. To get the
start values works.
$frame->FindWindow('ID_SPINCTRL1')->GetValue();
For catching events I am using this:
EVT_SPIN($frame, &$XID('ID_SPINCTRL1'), sub {
$R = $frame->FindWindow('ID_SPINCTRL1')->GetValue();
print"Spinctrl1 R: $$R\n";
} );
But this does not work. Does somebody see what I am donig wrong.
thx Alexander