Do I need to ClearGadgetItems to clean up correctly after a tabber? If I just go ahead and free it, is that enough to ensure that all resources will be freed or do I have to ClearGadgetItems() on it as well?
I'd be quite happy to ClearGadgetItems() just to be on the safe side, but I'm getting a crash because it's an invalid gadget type when I do that. I'm not sure why. It's not a general BlitzMax problem, so it must be something to do with the way I treat Tabbers that stops this from being permitted, and I haven't found it.
So if I don't have to, that'll save me trying to solve this. If I do, off I go to sort through tons of code trying to figure out what I'm doing which is causing this.
I'd be quite happy to ClearGadgetItems() just to be on the safe side, but I'm getting a crash because it's an invalid gadget type when I do that. I'm not sure why. It's not a general BlitzMax problem, so it must be something to do with the way I treat Tabbers that stops this from being permitted, and I haven't found it.
So if I don't have to, that'll save me trying to solve this. If I do, off I go to sort through tons of code trying to figure out what I'm doing which is causing this.