Ticket #15909 (closed defect: fixed)
Memory leak. wxRibbonButtonBar::DeleteButton(id) doesn't delete button object
|Reported by:||tan||Owned by:|
|Keywords:||wxRibbonButtonBar memory leak||Cc:|
It is unexpected behaviour and it leads to memory leaks.
Do it in wxRibbonButtonBar::DeleteButton(id)is consistent with the behaviour of the wxRibbonButtonBar::ClearButtons().
Patch is attached.