From: Graciliano M. P. \(Virtua Sites\) <gm@vi...> - 2002-07-21 19:44:13
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
>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?
Get latest updates about Open Source Projects, Conferences and News.