> > I don't remember if I wrote this, or it came from Harald.  Anyway,
> > after the resources are "compiled" (which happens after the containing
> > class is initialized), a subclass cannot just "copy" the resource
> > list from the parent class.  They have to be decompiled first.
> > That's what all this crap is for.  Gadgets use this so that subclasses
> > of LabelG can merge their resource lists with those of the parent
> > class.
> 
> So far so good....baseclass/test7 seems to be deciding that the resources do
> not need to be decompiled, when in fact it seems that they do, at least things
> look nicer if they are. Why don't we use the core_class variable class_inited
> to determine if the resources need to be decompiled???

Minor problem: the function doesn't get a class record. ;)

Seriously though, the function shouldn't fail unless the conditional
fails.  If the conditional is failing, perhaps it should be > instead
of >= ?  Is the problem child at offset zero?

Mitch

Reply via email to