Deleting Widgets?

Ah, now I see, child_widget.Destroy()

Thanks for your help.

Alex Zeiger wrote:

···

The sizer does not own the windows that it manages (only the sub-sizers and spacers) so it can not Destroy them when they are removed. The parent window owns the child windows and it will destroy them when it is destroyed, or you can do it yourself by calling the child's Destroy method.