]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmltag.cpp
Let wxMSW report wxDataViewCustomRenderer::LeftClick() report the click position...
[wxWidgets.git] / src / html / htmltag.cpp
index 3f88bf3edcac34652354392019678d47634558de..6646ac1ed7f1a6dc09d38b2de4818342e23b2a27 100644 (file)
@@ -205,8 +205,7 @@ wxHtmlTagsCache::wxHtmlTagsCache(const wxString& source)
     for ( wxHtmlTagsCacheData::iterator i = Cache().begin();
           i != Cache().end(); ++i )
     {
-        delete[] i->Name;
-        i->Name = NULL;
+        wxDELETEA(i->Name);
     }
 }