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:
@@ -439,7 +439,7 @@ wxPGProperty::~wxPGProperty()
|
|||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
for ( i=0; i<m_cells.size(); 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
|
// This makes it easier for us to detect dangling pointers
|
||||||
m_parent = NULL;
|
m_parent = NULL;
|
||||||
|
Reference in New Issue
Block a user