X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27df579a6fee15c771a6020ec856dff64422151f..5a2762f083962cecf9c5f226e1ad01ab29b160a6:/src/gtk/listbox.cpp diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index 8ff7ab4cd1..308faa01e1 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -12,12 +12,6 @@ #pragma implementation "listbox.h" #endif -#ifdef __VMS -#define gtk_scrolled_window_add_with_viewport gtk_scrolled_window_add_with_vi -#define gtk_container_set_focus_vadjustment gtk_container_set_focus_vadjust -#define gtk_scrolled_window_get_vadjustment gtk_scrolled_window_get_vadjust -#endif - #include "wx/listbox.h" #if wxUSE_LISTBOX @@ -367,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)