Fix ribbon page does not delete scroll buttons on destruction
See #17546
This commit is contained in:
parent
a671974bab
commit
b8734109ff
@ -175,6 +175,8 @@ wxRibbonPage::wxRibbonPage(wxRibbonBar* parent,
|
||||
wxRibbonPage::~wxRibbonPage()
|
||||
{
|
||||
delete[] m_size_calc_array;
|
||||
delete m_scroll_left_btn;
|
||||
delete m_scroll_right_btn;
|
||||
}
|
||||
|
||||
bool wxRibbonPage::Create(wxRibbonBar* parent,
|
||||
|
Loading…
Reference in New Issue
Block a user