]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/hash.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / common / hash.cpp
index 1e36fec843fbd3b6720f59059872922bd1f54327..8c7049b6b4f391a61ab60b87cf04ecd1274a6a6c 100644 (file)
@@ -135,9 +135,7 @@ void wxHashTableBase::Destroy()
 {
     Clear();
 
 {
     Clear();
 
-    delete[] m_table;
-
-    m_table = NULL;
+    wxDELETEA(m_table);
     m_size = 0;
 }
 
     m_size = 0;
 }