http://qs1969.pair.com?node_id=277099


in reply to Re: WxGrid returning a scalar
in thread WxGrid returning a scalar

Ah...that'd explain it :) The PPM didn't include the readme, so I missed that bit. I'm not sure how one is supposed to turn a scalarref into a hashref though simply by deriving a new class... if '$class->SUPER::new()' returns a scalarref, then you're stuck with that as the 'base' of the derived class, surely? (...and I *have* tried, btw, with evey single bl**din' combination of re-re-blessing multiple-inherited refs to derived hashes-of-hashrefs that I can think of...{g} )

Thanks,
Ben

Replies are listed 'Best First'.
Re: Re: Re: WxGrid returning a scalar
by simonflk (Pilgrim) on Jul 23, 2003 at 13:09 UTC

    This looks like a bug to me. There are other subclasses of Wx::Window that don't return hash reference when subclassed. For example, Wx::STC. Please post to the mailing list

    -- simonflk