Must still delete m_cells items by explicit type (since, after all, it was not yet converted to wxVector from wxArrayPtrVoid)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli 2008-10-03 16:29:34 +00:00
parent e5bb501b98
commit 36a403e0d5

View File

@ -439,7 +439,7 @@ wxPGProperty::~wxPGProperty()
unsigned int i;
for ( i=0; i<m_cells.size(); i++ )
delete m_cells[i];
delete (wxPGCell*) m_cells[i];
// This makes it easier for us to detect dangling pointers
m_parent = NULL;