]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
another GetInt/GetId bug fix
[wxWidgets.git] / src / gtk / listbox.cpp
index 4f29dfdb2b2719133887dd22dd746d9d290a82d4..308faa01e1c4c99051149335004b2d82c9068d2f 100644 (file)
 #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 <gdk/gdk.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
@@ -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)