]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/hash.cpp
Add missing WXK constants for the control keys
[wxWidgets.git] / src / common / hash.cpp
index 8333e1cdea03fa8f43f41a5281ecb25365153ad9..8c7049b6b4f391a61ab60b87cf04ecd1274a6a6c 100644 (file)
@@ -26,6 +26,7 @@
 
 #ifndef WX_PRECOMP
     #include "wx/hash.h"
+    #include "wx/object.h"
 #endif
 
 wxHashTableBase_Node::wxHashTableBase_Node( long key, void* value,
@@ -134,9 +135,7 @@ void wxHashTableBase::Destroy()
 {
     Clear();
 
-    delete[] m_table;
-
-    m_table = NULL;
+    wxDELETEA(m_table);
     m_size = 0;
 }