Marc,
Using the UNIVERSAL::isa it works! I get 1 or undef for the type. Thanks
for the help!
Graciliano M. P.
>I was thinking that the wxPerl types would map to the wxWindow types for
the
>most part. In your example:
> bool tmp = obj->IsKindOf(CLASSINFO(wxFrame));
>
>you are testing for a kind of wxFrame. In perl I would normally write that
>using something like:
>
> my $tmp = UNIVERSAL::isa($obj, 'Wx::Frame');
>
>What do you actually get when you ref() the object in question? What
>exactly are you trying to test for?
>
>mma
|