X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fa056ab78be920eacac56e51864fe7a45d1a31a..c13cace12594b37706e9520a6fbd602c949f8127:/src/gtk/listbox.cpp?ds=sidebyside diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index 4f29dfdb2b..308faa01e1 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -26,11 +26,6 @@ #include "wx/tooltip.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 #include #include @@ -366,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)