diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index 350f10633b..25f1eece1c 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -197,7 +197,7 @@ bool wxListBox::Create(wxWindow *parent, wxListBox::~wxListBox() { // call this just to free the client data -- and avoid leaking memory - DoClear(); + Clear(); if ( IsSorted() ) delete m_strings.sorted;