]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
added automatic growing of in-place wxTextCtrls for generic wxListCtrl and wxTreeCtrl
[wxWidgets.git] / src / gtk / listbox.cpp
index 4412ded52af7575548f9f7953c7d3b7c1c3f551e..308faa01e1c4c99051149335004b2d82c9068d2f 100644 (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)