call Clear() in dtor: this is necessary at least to clean up client object data

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-12-08 21:09:20 +00:00
parent 23bd008a7f
commit ad998d785c

View File

@@ -198,7 +198,7 @@ bool wxListBox::Create(wxWindow *parent,
wxListBox::~wxListBox() wxListBox::~wxListBox()
{ {
Free(); Clear();
} }
WXDWORD wxListBox::MSWGetStyle(long style, WXDWORD *exstyle) const WXDWORD wxListBox::MSWGetStyle(long style, WXDWORD *exstyle) const