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:
@@ -198,7 +198,7 @@ bool wxListBox::Create(wxWindow *parent,
|
||||
|
||||
wxListBox::~wxListBox()
|
||||
{
|
||||
Free();
|
||||
Clear();
|
||||
}
|
||||
|
||||
WXDWORD wxListBox::MSWGetStyle(long style, WXDWORD *exstyle) const
|
||||
|
Reference in New Issue
Block a user