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();
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();