Fix memory leak of wxClientData when wxChoice is deleted
This commit is contained in:
@@ -98,6 +98,7 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id,
|
||||
|
||||
wxChoice::~wxChoice()
|
||||
{
|
||||
Clear();
|
||||
delete m_strings;
|
||||
|
||||
#ifdef __WXGTK3__
|
||||
|
Reference in New Issue
Block a user