diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index fd421c8467..ae8535a88f 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -198,7 +198,7 @@ bool wxListBox::Create(wxWindow *parent, wxListBox::~wxListBox() { - Free(); + Clear(); } WXDWORD wxListBox::MSWGetStyle(long style, WXDWORD *exstyle) const