]> git.saurik.com Git - wxWidgets.git/commitdiff
Must still delete m_cells items by explicit type (since, after all, it was not yet...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Fri, 3 Oct 2008 16:29:34 +0000 (16:29 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Fri, 3 Oct 2008 16:29:34 +0000 (16:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/property.cpp

index 29277f0568336308981a850dacbd5fba233044f4..771b46fd0be627d77238b2a56add883708f7bfb8 100644 (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;