Hi,
I'm trying to make a couple of custom widgets, derived from wx.Window, that are a collection of buttons and combo boxes. The first widget (Collection) is a combination of a label and an 'add' button. The second (Combo) is a combination of a combobox and a 'remove' button.
What I would like to happen is to be able to add several Combo's to a Collection widget when you hit add, making a dynamic list of comboboxes. This works fine apart from the layout. I can dynamically add Collections to my main frame and the frame is resized to fit, but when i add extra Combo's I can't get the window to layout correctly.
I've attached an example, hit the top 'Add Collection' button and it works, but hit any 'Add' button and it doesn't.
If anyone could help that would be great.
Thanks
Chris
test3.py (3.68 KB)