]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlpars.cpp
Fix item selection/focus drawing in generic wxListCtrl.
[wxWidgets.git] / src / html / htmlpars.cpp
index 3c312275a707e0a3007edb76210d6c3853cfec9d..2076129925de742e43093db1ea12dbc594aede9a 100644 (file)
@@ -250,8 +250,7 @@ void wxHtmlParser::DestroyDOMTree()
     }
     m_Tags = m_CurTag = NULL;
 
-    delete m_TextPieces;
-    m_TextPieces = NULL;
+    wxDELETE(m_TextPieces);
 }
 
 void wxHtmlParser::DoParsing()