> -----Original Message----- > From: Kevin Ryde via RT [mailto:bug...@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); >>>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-us...@googlegroups.com. What do others think? Regards Steve