X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/937013e0fd914d4c42f9f5ec98da665986b93dfa..6c91ea6f898a595a27686f2f1dd4cdb633a9eb16:/src/msw/listbox.cpp 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