Hmmm
what happens if you leave out GA_Previous in the 1st call (there is no previous gadget,
so specifing one sounds a bit wrong) and make it
I just checked my own project, and this is what I did:
1. CreateContext() needed if you have GadTools-gadgets. This will create an empty/invisible gadget.
2. CreateGadget() with a pointer the one creted by CreateContext.
3. CreateGadget() with a pointer the one creted by in 2.
and so on.
Finally ad call AddGlist() with the one created in 2.
Should be the same with NewObject instead CreateGadget.