"Can't locate object method "Append" via package "Wx::RadioBox" at
PolymorphLayout.pl line 307."
Offending code is:
$self->{ERCOnOffRB} =
Wx::RadioBox->new($self->{ERCTab}, -1, "ERC", [-1, -1], [-1, -1], [],
1, wxRA_SPECIFY_ROWS);
$self->{ERCOnOffRB}->SetFont($self->{detLabelFont});
$self->{ERCOnOffRB}->Append('On');
$self->{ERCOnOffRB}->Appent('Off');
$self->{ERCSZ}->Add($self->{ERCOnOffRB}, 0, wxLEFT, 15);
Reason I was trying to do it this way is that if I specify the items
in the constructor, after I SetFont they display all wrong on OS X
(didn't try other places yet -- OS X is the hard one to do layout for,
so I'm doing it there first, and I probably won't even bother with GTK
because it's an app to act as a support-feature for another app that's
only available for Windows and Mac)
Instead of:
(*) On ( ) Off
I get:
O O
(*) n (*) ff
(which is weird because the detLabelFont is *smaller* than the
default, but it does it anyway.)
Anyway, the docs indicate that WxRadioBox inherits from
WxControlWithItems, which is where the Append() method comes from, but
in wxPerl it doesn't seem to be implemented.
XS oversight, or deliberate for some reason?
If the former, I may be able to hack it in, but then I'll definitely
have to include the libraries with my App.
--
Dodger