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:
parent
e5bb501b98
commit
36a403e0d5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user