Detach the panel, and then destroy it if you don't need it anymore.
gbsizer.Detach(panel)
panel.Destroy()
gbsizer.Layout()
···
On 5/31/06, Julian Swartz <swartzjp@gmail.com> wrote:
I have a wxPanel that is placed in a cell of the GridBagSizer controlling
the top level layout of my frame. The panel contains a BoxSizer with a
number of components. How do I clear the contents of the panel and update
the display?
--
# p.d.