Fixed memory leak in listbox, fixed memory leak reporting in app.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-09-08 14:36:00 +00:00
parent 542acbee80
commit 6981d3ecf6
4 changed files with 6 additions and 2 deletions

View File

@@ -361,6 +361,8 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
wxListBox::~wxListBox()
{
Clear();
if (m_strings)
delete m_strings;
}
void wxListBox::DoInsertItems(const wxArrayString& items, int pos)