views:

121

answers:

1

Hello,

I want to remove a pane from the wx.aui.AuiManager.

Is it possible?

+2  A: 

I'm not sure, but this might work:

manager.DetachPane(pane)
pane.Destroy()
manager.Update()
FogleBird
almost :PI've discovered the DestroyOnClose flag so when we hide the pane, it's destroyed.
aF
"pane" must be a PaneInfo but a Window-derived class. If not, Destroy() won't work.
Pablo Rodriguez