projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync'ed show-window flag in MDI child constructor; added initial wxKill implementation
[wxWidgets.git]
/
src
/
common
/
hash.cpp
diff --git
a/src/common/hash.cpp
b/src/common/hash.cpp
index 09e9b42d1370747ece824d5064e07674e50f0ea3..900219c6d1197056c7c3ef23503e024c61b72b9e 100644
(file)
--- a/
src/common/hash.cpp
+++ b/
src/common/hash.cpp
@@
-143,6
+143,11
@@
void wxHashTableLong::Init(size_t size)
m_count = 0;
}
m_count = 0;
}
+void wxHashTableLong::Create(size_t size)
+{
+ Init(size);
+}
+
void wxHashTableLong::Destroy()
{
for ( size_t n = 0; n < m_hashSize; n++ )
void wxHashTableLong::Destroy()
{
for ( size_t n = 0; n < m_hashSize; n++ )
@@
-390,7
+395,7
@@
void wxHashTable::Put (long key, long value, wxObject * object)
if (!hash_table[position])
{
if (!hash_table[position])
{
- hash_table[position] = new wxList (wxKEY_
INTEGER
);
+ hash_table[position] = new wxList (wxKEY_
STRING
);
if (m_deleteContents) hash_table[position]->DeleteContents(TRUE);
}
if (m_deleteContents) hash_table[position]->DeleteContents(TRUE);
}