Show quoted text> -----Original Message-----
> From: Kevin Ryde via RT [mailto:bug-Wx@rt.cpan.org]
> With recent debian i386 wx 2.8 and wxperl 0.9901 I mistakenly passed
> undef to the AboutDialogInfo SetIcon(), per foo.pl below, and got a
> segv. I expect it's "don't do that", but it'd be good if it was an
> error instead of a segv to avoid trouble.
Hi Kevin,
I get the same under Windows.
Don't you think it's a wxWidgets problem and not a wxPerl binding problem?
The only strange thing is it crashes at the actual call:
$info->SetIcon(undef);
Show quoted text>>>crash<<<
If you change to:
$info->SetIcon(0);
It steps through the call to Wx::
sub END {
UnsetConstants() if defined &UnsetConstants;
}
It may be worth posting on wx-users@googlegroups.com.
What do others think?
Regards
Steve